Skip to content
Snippets Groups Projects
Commit 43f2ec1d authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed display of the homotopy steps when the residuals are complex.

parent ff7c1f5c
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,11 @@ if ~oo_.deterministic_simulation.status && ~options_.no_homotopy
oo_.endo_simul = saved_endo_simul;
success_counter = 0;
step = step / 2;
if isreal(me)
fprintf('%i \t | %1.5f \t | %s \t | %e\n', iteration, new_weight, 'failed', me)
else
fprintf('%i \t | %1.5f \t | %s \t | %s\n', iteration, new_weight, 'failed', 'Complex')
end
end
end
fprintf('++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment