fix template change of eoBooleanGenerator
This commit is contained in:
parent
0665cc02f5
commit
0f4dbf3a13
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ eoInit<EOT> & do_make_genotype(eoParser& _parser, eoState& _state, EOT, float _b
|
|||
|
||||
// Then we can built a bitstring random initializer
|
||||
// based on boolean_generator class (see utils/rnd_generator.h)
|
||||
eoBooleanGenerator * gen = new eoBooleanGenerator(_bias);
|
||||
eoBooleanGenerator<bool> * gen = new eoBooleanGenerator<bool>(_bias);
|
||||
_state.storeFunctor(gen);
|
||||
eoInitFixedLength<EOT>* init = new eoInitFixedLength<EOT>(theSize, *gen);
|
||||
// store in state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue