make some eoAlgoFoundryFastGA's parameters const

This commit is contained in:
Johann Dreo 2021-07-30 10:30:37 +02:00
commit eb9bd4a405

View file

@ -85,8 +85,8 @@ class eoAlgoFoundryFastGA : public eoAlgoFoundry<EOT>
eoAlgoFoundryFastGA( eoAlgoFoundryFastGA(
eoInit<EOT> & init, eoInit<EOT> & init,
eoEvalFunc<EOT>& eval, eoEvalFunc<EOT>& eval,
size_t max_evals = 10000, const size_t max_evals = 10000,
size_t max_restarts = std::numeric_limits<size_t>::max() const size_t max_restarts = std::numeric_limits<size_t>::max()
) : ) :
eoAlgoFoundry<EOT>(10), eoAlgoFoundry<EOT>(10),