Fix size of NaN vector returned so that resid.m does not crash
parent
9229a35e71
commit
616dad634a
|
@ -64,7 +64,7 @@ if ~isempty(i)
|
||||||
disp(' i) if all parameters occurring in these equations are defined')
|
disp(' i) if all parameters occurring in these equations are defined')
|
||||||
disp(' ii) that no division by an endogenous variable initialized to 0 occurs')
|
disp(' ii) that no division by an endogenous variable initialized to 0 occurs')
|
||||||
info = 1;
|
info = 1;
|
||||||
x = NaN;
|
x = NaN(size(fvec));
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue