- The bytecode.mex file has to be called when bytecode option is specified independently of the block option.

time-shift
Ferhat Mihoubi 2011-01-03 15:54:22 +01:00
parent 206fff0e71
commit ac9415a943
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ if options_.block && ~options_.bytecode
end end
z(idx) = r; z(idx) = r;
end end
elseif options_.block && options_.bytecode elseif options_.bytecode
[check, z] = bytecode('evaluate','static'); [check, z] = bytecode('evaluate','static');
mexErrCheck('bytecode', check); mexErrCheck('bytecode', check);
else else
@ -100,6 +100,7 @@ if nargout == 0
for i = 1:4 for i = 1:4
disp(' ') disp(' ')
end end
ind = [];
disp('Residuals of the static equations:') disp('Residuals of the static equations:')
disp(' ') disp(' ')
for i=1:M_.orig_endo_nbr for i=1:M_.orig_endo_nbr