Skip to content
Snippets Groups Projects
Verified Commit ea28fcb4 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'model_diag' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2221
parents a7f5fd57 42fc1ec4
Branches
No related tags found
No related merge requests found
...@@ -213,7 +213,7 @@ for b=1:nb ...@@ -213,7 +213,7 @@ for b=1:nb
if n_rel > 1 if n_rel > 1
disp(['Relation ' int2str(i)]) disp(['Relation ' int2str(i)])
end end
disp('Colinear variables:') disp('Collinear variables:')
for j=1:10 for j=1:10
k = find(abs(ncol(:,i)) > 10^-j); k = find(abs(ncol(:,i)) > 10^-j);
if max(abs(jacob(:,k)*ncol(k,i))) < 1e-6 if max(abs(jacob(:,k)*ncol(k,i))) < 1e-6
...@@ -236,7 +236,7 @@ for b=1:nb ...@@ -236,7 +236,7 @@ for b=1:nb
if n_rel > 1 if n_rel > 1
disp(['Relation ' int2str(i)]) disp(['Relation ' int2str(i)])
end end
disp('Colinear equations') disp('Collinear equations')
for j=1:10 for j=1:10
k = find(abs(neq(:,i)) > 10^-j); k = find(abs(neq(:,i)) > 10^-j);
if max(abs(jacob(k,:)'*neq(k,i))) < 1e-6 if max(abs(jacob(k,:)'*neq(k,i))) < 1e-6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment