From b506222db2a35b01197ddb278d3a79d513103c0d Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Wed, 30 Sep 2009 16:52:15 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@75 ed2142bd-67ad-457f-ba7c-d818d4011675 --- core/fitter.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') 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(static_cast& >(rhs)) + ,p_fitter(rhs.p_fitter) {} /** -- cgit v1.2.2