aboutsummaryrefslogtreecommitdiffstats
path: root/misc/data_loaders.hpp
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-13 03:08:47 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-10-13 03:08:47 +0000
commit0c1f50351a0287252c4b0f7e9edbfb945481e6f7 (patch)
treee8e58b799cf192dd74569300c20e223c9923a916 /misc/data_loaders.hpp
parent896a67e280d41df613092279f76913f8372faba1 (diff)
downloadopt-utilities-0c1f50351a0287252c4b0f7e9edbfb945481e6f7.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@80 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'misc/data_loaders.hpp')
-rw-r--r--misc/data_loaders.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/data_loaders.hpp b/misc/data_loaders.hpp
index 20405b1..ad23db6 100644
--- a/misc/data_loaders.hpp
+++ b/misc/data_loaders.hpp
@@ -66,7 +66,7 @@ namespace opt_utilities
break;
}
data<Ty,Tx> d(x,y,y_err,y_err,x_err,x_err);
- ds.push_back(d);
+ ds.add_data(d);
}
//return ifs;
}
@@ -125,7 +125,7 @@ namespace opt_utilities
break;
}
data<Ty,Tx> d(x,y,y_err,y_err,x_err,x_err);
- ds.push_back(d);
+ ds.add_data(d);
}
}
@@ -186,7 +186,7 @@ namespace opt_utilities
break;
}
data<Ty,Tx> d(x,y,yl,yu,xl,xu);
- ds.push_back(d);
+ ds.add_data(d);
}
}