Skip to content
Snippets Groups Projects
Commit 616dad63 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

Fix size of NaN vector returned so that resid.m does not crash

parent 9229a35e
Branches
Tags
1 merge request!659Fix size of NaN vector returned so that resid.m does not crash
......@@ -64,7 +64,7 @@ if ~isempty(i)
disp(' i) if all parameters occurring in these equations are defined')
disp(' ii) that no division by an endogenous variable initialized to 0 occurs')
info = 1;
x = NaN;
x = NaN(size(fvec));
return;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment