aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-04-02 12:28:41 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-04-02 12:28:41 +0000
commit940839ecd20a5c194ce6076240f04b0e98cd8fde (patch)
tree7911ca3175d526f867ff288bd61f61d6a4ab56c9 /interface
parent4954b5638ced13c2f9d2f0ec4dca77b03f7e89d0 (diff)
downloadopt-utilities-940839ecd20a5c194ce6076240f04b0e98cd8fde.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@12 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'interface')
-rw-r--r--interface/opt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/opt.cc b/interface/opt.cc
index 585d2e9..ce492d1 100644
--- a/interface/opt.cc
+++ b/interface/opt.cc
@@ -72,7 +72,7 @@ void load_data_(const int& nfit,const int& ndatas,double* x,double* y,double* yl
{
data<double,double> d(x[i],y[i],yl[i],(yu==0?yl[i]:yu[i]),(xl==0?0:xl[i]),(xu==0?0:xu[i]));
// cout<<x[i]<<" "<<y[i]<<endl;
- ds.push_back(d);
+ ds.add_data(d);
}
iter->second.fit.load_data(ds);
}