aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-03-03 17:45:56 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2011-03-03 17:45:56 +0000
commitce4e9ec716863491cc6a34c8975f78789644a159 (patch)
treec2f8b438ecdb693e55d8ad49046659c184dc0ac7
parent4f4daacdfd12965d0044a7fec04b45672b5fe780 (diff)
downloadopt-utilities-ce4e9ec716863491cc6a34c8975f78789644a159.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@182 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r--vmodels/dualgauss1d.hpp1
-rw-r--r--vmodels/gauss1d.hpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/vmodels/dualgauss1d.hpp b/vmodels/dualgauss1d.hpp
index bace73b..221fe54 100644
--- a/vmodels/dualgauss1d.hpp
+++ b/vmodels/dualgauss1d.hpp
@@ -16,6 +16,7 @@ namespace opt_utilities
template <typename T>
class dualgauss1d
:public model<optvec<T>,optvec<T>,optvec<T>,std::string>
+ ,public pre_estimatable<optvec<T>,optvec<T>,optvec<T>,std::string>
{
private:
dualgauss1d* do_clone()const
diff --git a/vmodels/gauss1d.hpp b/vmodels/gauss1d.hpp
index ecfa81c..e94ede6 100644
--- a/vmodels/gauss1d.hpp
+++ b/vmodels/gauss1d.hpp
@@ -10,12 +10,14 @@
#include <core/fitter.hpp>
#include <cmath>
#include <misc/optvec.hpp>
+#include <core/pre_estimater.hpp>
namespace opt_utilities
{
template <typename T>
class gauss1d
:public model<optvec<T>,optvec<T>,optvec<T>,std::string>
+ ,public pre_estimatable<optvec<T>,optvec<T>,optvec<T>,std::string>
{
private:
gauss1d* do_clone()const