diff --git a/trunk/paradiseo-mo/test/t-moStatistics.cpp b/trunk/paradiseo-mo/test/t-moStatistics.cpp index c59034e06..98cd1e4f3 100644 --- a/trunk/paradiseo-mo/test/t-moStatistics.cpp +++ b/trunk/paradiseo-mo/test/t-moStatistics.cpp @@ -58,7 +58,8 @@ int main() { assert(min==2); assert(max==5); assert(avg==3.5); - assert(std==sqrt(1.25)); + assert(std*std==1.25); + sampling.resize(0); test.basic(sampling, min, max, avg, std);