Bytecode: fix error message about convergence failure that can happen in Solve Backward Complete as well

trustregion
Sébastien Villemot 2022-02-10 17:26:04 +01:00
parent cdb4f872b2
commit d74cb031d2
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 2 additions and 2 deletions

View File

@ -3947,11 +3947,11 @@ dynSparseMatrix::solve_non_linear(int block_num, int y_size, int y_kmin, int y_k
if (!cvg)
{
if (steady_state)
throw FatalExceptionHandling(" in Solve Forward complete, convergence not achieved in block "
throw FatalExceptionHandling(" in Solve Forward/Backward Complete, convergence not achieved in block "
+ to_string(block_num+1) + ", after " + to_string(iter)
+ " iterations\n");
else
throw FatalExceptionHandling(" in Solve Forward complete, convergence not achieved in block "
throw FatalExceptionHandling(" in Solve Forward/Backward Complete, convergence not achieved in block "
+ to_string(block_num+1) + ", at time " + to_string(it_)
+ ", after " + to_string(iter) + " iterations\n");
}