bugfix: do not allow null interval in hypervolume diff metric

This commit is contained in:
Johann Dreo 2013-06-06 11:43:34 +02:00
commit b619a85718
2 changed files with 17 additions and 3 deletions

View file

@ -234,7 +234,7 @@ public :
assert( repRange >= 0 );
#ifndef NDEBUG
if( repRange == 0 ) {
eo::log << eo::warnings << "Null range in eoRealBounds (min=" << _min << ", max=" << _max << ")" << std::endl;
eo::log << eo::warnings << "Warning: null range in eoRealBounds (min=" << _min << ", max=" << _max << ")" << std::endl;
}
#endif
}