Skip to content

Commit

Permalink
fix(eoEvalFoundryEA): reorder members to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreo committed Aug 23, 2024
1 parent fefb2af commit 22b74e9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions eo/src/eoEvalFoundryEA.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ class eoEvalFoundryEA : public eoEvalFunc<EOT>
i_repl(foundry.replacements.index())
{ }

protected:
const size_t i_cont;
const size_t i_cros;
const size_t i_muta;
const size_t i_sele;
const size_t i_repl;

public:

/** Decode the high-level problem encoding as an array of indices.
Expand Down Expand Up @@ -156,6 +149,13 @@ class eoEvalFoundryEA : public eoEvalFunc<EOT>
eoAlgoFoundryEA<SUB>& _foundry;
const typename EOT::Fitness _penalization;
const size_t _pop_size;

const size_t i_cont;
const size_t i_cros;
const size_t i_muta;
const size_t i_sele;
const size_t i_repl;

};

/** Helper function to instanciate an eoEvalFoundryEA without having to indicate the template for the sub-problem encoding.
Expand Down

0 comments on commit 22b74e9

Please sign in to comment.