Bug fix (missing semicolon).

kalman-mex
Stéphane Adjemian (Argos) 2023-10-11 15:47:57 +02:00
parent cfb8a1d15a
commit 06926e0153
Signed by: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 2 additions and 2 deletions

View File

@ -274,9 +274,9 @@ for i=1:rows(elist)
fprintf(fid, '\t%s %s\n', elist{i,1}, elist{i,2});
end
end
fprintf(fid, ';\n\n');
if exist('plist', 'var') && ~isempty(plist)
% Print list of parameters.
fprintf(fid, ';\n\n');
fprintf(fid, 'parameters\n');
for i=1:length(plist)
fprintf(fid, '\t%s\n', plist{i});
@ -296,8 +296,8 @@ if exist('xlist', 'var') && ~isempty(xlist)
fprintf(fid, '\t%s %s\n', xlist{i,1}, xlist{i,2});
end
end
fprintf(fid, ';\n');
end
fprintf(fid, ';\n');
skipline(1, fid)
% Provide an interface to flip endogenous and exogenous variables. Active if only macrovariable
% InvertModel is set to True. The calls to the change_type command must be provided in the file