Skip to content

Commit

Permalink
Improved concole output
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasneubrand committed Nov 14, 2023
1 parent 4173e95 commit a5b5acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arFramework3/Subfunctions/arCalcMerit.m
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@
else
ar.config.maxsteps = (1+.2*(i-1))*maxsteps;
if(~error_printed)
arFprintf(1, 'Integration error, restarting %d / %d with 20%% increased maxsteps.\n',i-1,nCVRestart)
arFprintf(1, 'Integration error. New attempt (%d/%d) with 20%% increased maxsteps.\n', i, nCVRestart)
error_printed = 1;
end
end
elseif(ar.model(m).condition(c).status<-1)
ar.config.atol = (1+.05*i)*atol;
ar.config.rtol = (1+.05*i)*rtol;
if(~error_printed)
arFprintf(1, 'Integration error, restarting %d / %d with 5%% increased tolerances.\n',i,nCVRestart)
arFprintf(1, 'Integration error. New attempt (%d/%d) with 5%% increased tolerances.\n', i, nCVRestart)
error_printed = 1;
end
else
Expand Down

0 comments on commit a5b5acf

Please sign in to comment.