Exit is better than abort.
Also use a macro instead of integer to indicate failure.
This commit is contained in:
@@ -691,7 +691,7 @@ Parfactor::expandPotential (
|
||||
if (newSize > params_.max_size()) {
|
||||
cerr << "error: an overflow occurred when performing expansion" ;
|
||||
cerr << endl;
|
||||
abort();
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
Params backup = params_;
|
||||
|
Reference in New Issue
Block a user