diff --git a/eo/src/EO.h b/eo/src/EO.h index fd807d0c..34e216fe 100644 --- a/eo/src/EO.h +++ b/eo/src/EO.h @@ -51,7 +51,7 @@ public: ctors here since default types like float have no void initializer. VC++ allows it, but gcc does not */ - EO(): repFitness(0), invalidFitness(true) {} + EO(): repFitness(Fitness()), invalidFitness(true) {} /// Virtual dtor virtual ~EO() {};