diff --git a/src/esostrategy.h b/src/esostrategy.h index 036c7695..755c64ac 100644 --- a/src/esostrategy.h +++ b/src/esostrategy.h @@ -164,7 +164,7 @@ namespace libcmaes * variable values for each step until termination. * @param pffunc a stream to file output function */ - void set_plot_func(PlotFunc &pffunc) { _pffunc = pffunc; } + void set_plot_func(PlotFunc &pffunc) { if (!_parameters._full_fplot) _pffunc = pffunc; } /** * \brief returns numerical gradient of objective function at x.