From 90a6bb991c68cc45c1ef51e4528ce5eda75a8122 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Mon, 6 Jul 2015 08:53:54 +0200 Subject: [PATCH] Fix typos in error message in stochastic_solvers.m --- matlab/stochastic_solvers.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/stochastic_solvers.m b/matlab/stochastic_solvers.m index d8374c48f..f3a98db70 100644 --- a/matlab/stochastic_solvers.m +++ b/matlab/stochastic_solvers.m @@ -143,7 +143,7 @@ end if options_.debug if ~isempty(infrow) - fprintf('\nSTOCHASTIC_SOLVER: The Jacobian of the dynamic model contains Inf. The problam is associated with:\n\n') + fprintf('\nSTOCHASTIC_SOLVER: The Jacobian of the dynamic model contains Inf. The problem is associated with:\n\n') display_problematic_vars_Jacobian(infrow,infcol,M_,dr.ys,'dynamic','STOCHASTIC_SOLVER: ') save([M_.fname '_debug.mat'],'jacobia_') end @@ -167,7 +167,7 @@ end [nanrow,nancol]=find(isnan(jacobia_)); if options_.debug if ~isempty(nanrow) - fprintf('\nSTOCHASTIC_SOLVER: The Jacobian of the dynamic model contains NaN. The problam is associated with:\n\n') + fprintf('\nSTOCHASTIC_SOLVER: The Jacobian of the dynamic model contains NaN. The problem is associated with:\n\n') display_problematic_vars_Jacobian(nanrow,nancol,M_,dr.ys,'dynamic','STOCHASTIC_SOLVER: ') save([M_.fname '_debug.mat'],'jacobia_') end