aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-09-30 16:52:15 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-09-30 16:52:15 +0000
commitb506222db2a35b01197ddb278d3a79d513103c0d (patch)
tree14df4080154e7c81369837130c21957fde4a3fbc
parent1e204c64161611ff2cd35fb6becf49f7a3e3f6a5 (diff)
downloadopt-utilities-b506222db2a35b01197ddb278d3a79d513103c0d.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@75 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r--core/fitter.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp
index cd76a20..cf47517 100644
--- a/core/fitter.hpp
+++ b/core/fitter.hpp
@@ -1707,7 +1707,8 @@ namespace opt_utilities
copy construct
*/
statistic(const statistic& rhs)
- :p_fitter(rhs.p_fitter)
+ :func_obj<Ts,Tp>(static_cast<const func_obj<Ts,Tp>& >(rhs))
+ ,p_fitter(rhs.p_fitter)
{}
/**