Commit 706e9414 authored by Johannes Pfeifer 's avatar Johannes Pfeifer

initialize.m: make string operation compatible with PC

PC systems use a backslash as file separator
parent 18b4a856
Pipeline #737 passed with stage
in 1 minute and 23 seconds
......@@ -16,7 +16,11 @@ function initialize(fake)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
% Get the path to the dseries toolbox.
dseries_src_root = strrep(which('@dseries/initialize.m'),'@dseries/initialize.m','');
if ispc()
dseries_src_root = strrep(which('@dseries\initialize.m'),'@dseries\initialize.m','');
else
dseries_src_root = strrep(which('@dseries/initialize.m'),'@dseries/initialize.m','');
end
% Check that the x13 binary is available
nox13 = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment