diff --git a/matlab/histvalf_initvalf.m b/matlab/histvalf_initvalf.m index 2ed72aee7..80faa595e 100644 --- a/matlab/histvalf_initvalf.m +++ b/matlab/histvalf_initvalf.m @@ -12,7 +12,7 @@ function series = histvalf_initvalf(caller, M, options) % series: dseries containing selected data from a file or a dseries % -% Copyright (C) 2003-2020 Dynare Team +% Copyright (C) 2003-2021 Dynare Team % % This file is part of Dynare. % @@ -32,7 +32,7 @@ function series = histvalf_initvalf(caller, M, options) % dseries if isfield(options, 'series') - series = options.series; + series = evalin('base', options.series); dseries_ispresent = true; else dseries_ispresent = false; @@ -230,4 +230,4 @@ else last_obs = series.last; end -series = series(first_obs:last_obs); \ No newline at end of file +series = series(first_obs:last_obs); diff --git a/preprocessor b/preprocessor index 7b3df21f1..910649dd2 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 7b3df21f11b81c83938abd982575260ab61c993a +Subproject commit 910649dd28ea3f78d6cf4cb245a2747207828bf5