Mentions légales du service

Skip to content
Snippets Groups Projects
Commit dc2132f0 authored by hhakim's avatar hhakim
Browse files

Minor fix in matfaust.factparams.StoppingCriterion.display.

parent 1a919b68
Branches
Tags
No related merge requests found
......@@ -33,12 +33,12 @@ classdef StoppingCriterion
% =========================================================
function display(self)
if(self.is_criterion_error)
printf('tol: %f ', self.tol)
printf('relerr: %d', self.relerr)
printf('maxiter: %d',self.maxiter)
fprintf('tol: %f\n', self.tol)
fprintf('relerr: %d\n', self.relerr)
fprintf('maxiter: %d\n',self.maxiter)
else
printf('num_its: %d', self.num_its)
printf('maxiter: %d', self.maxiter)
fprintf('num_its: %d\n', self.num_its)
fprintf('maxiter: %d\n', self.maxiter)
end
end
% =========================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment