Skip to content
Snippets Groups Projects
Commit 706e9414 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

initialize.m: make string operation compatible with PC

PC systems use a backslash as file separator
parent 18b4a856
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment