use eoExceptions everywhere
This commit is contained in:
parent
75ac37b02a
commit
eba2e14950
127 changed files with 524 additions and 418 deletions
|
|
@ -79,7 +79,7 @@ protected:
|
|||
std::vector<typename EOT::Fitness> fitness;
|
||||
void check_sync(unsigned index, const EOT& _eo) {
|
||||
if (fitness[index] != _eo.fitness()) {
|
||||
throw std::runtime_error("eoSelectFromWorth: fitnesses are not in sync");
|
||||
throw eoException("eoSelectFromWorth: fitnesses are not in sync");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue