use eoExceptions everywhere
This commit is contained in:
parent
75ac37b02a
commit
eba2e14950
127 changed files with 524 additions and 418 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
unsigned toKeep = temp.size(); // how many to keep from merged populations
|
||||
// minimal check
|
||||
if (toKeep < 2)
|
||||
throw std::runtime_error("Not enough parents killed in eoMGGReplacement");
|
||||
throw eoException("Not enough parents killed in eoMGGReplacement");
|
||||
|
||||
// select best offspring
|
||||
typename eoPop<EOT>::iterator it = _offspring.it_best_element();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue