Fix extended_path + bytecode under Octave

Ref. #1742
time-shift
Sébastien Villemot 2020-10-15 10:59:15 +02:00
parent 71e3e0d49e
commit 10333f99e2
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 3 additions and 1 deletions

View File

@ -66,7 +66,9 @@ else
end
pfm.i_cols_j = 1:pfm.nd;
pfm.i_upd = pfm.ny+(1:pfm.periods*pfm.ny);
pfm.dynamic_model = str2func([DynareModel.fname,'.dynamic']);
if ~DynareOptions.bytecode
pfm.dynamic_model = str2func([DynareModel.fname,'.dynamic']);
end
pfm.verbose = DynareOptions.ep.verbosity;
pfm.maxit_ = DynareOptions.simul.maxit;
pfm.tolerance = DynareOptions.dynatol.f;