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

time-shift
Johannes Pfeifer 2014-05-26 16:16:22 +02:00
parent 9229a35e71
commit 616dad634a
1 changed files with 1 additions and 1 deletions

View File

@ -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