From 2b03bd6dae27cbd1e23c9b6ded75df0cada0cd09 Mon Sep 17 00:00:00 2001 From: gustavoromero Date: Fri, 24 Nov 2000 11:52:49 +0000 Subject: [PATCH] fix Fitness default construction value --- eo/src/EO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {};