Skip to content
Snippets Groups Projects
Commit 8474e671 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

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

(cherry picked from commit 616dad63)
parent d3bb7659
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,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