aboutsummaryrefslogtreecommitdiffstats
path: root/core/fitter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fitter.hpp')
-rw-r--r--core/fitter.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp
index e07469e..2a81d70 100644
--- a/core/fitter.hpp
+++ b/core/fitter.hpp
@@ -1628,10 +1628,17 @@ namespace opt_utilities
return p_model->get_all_params();
}
+ /**
+ stop the fitting
+ */
+ void stop()
+ {
+ optengine.stop();
+ }
+
};
-
/**
\brief virtual class representing a statistic
\tparam Ty the type of the model return type