Skip to content
Snippets Groups Projects
Verified Commit e918589e authored by Marco Ratto's avatar Marco Ratto Committed by Sébastien Villemot
Browse files

fix undefined index j using wildcard

Closes: #1915
parent 7a5684bf
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ for indPC=1:length(Parallel)
end
while(1)
if isempty(dynareParallelDir(['P_slave_',int2str(j),'End.txt'],TmpFolder,Parallel))
if isempty(dynareParallelDir(['P_slave_*End.txt'],TmpFolder,Parallel))
for indPC=1:length(Parallel)
if (Parallel(indPC).Local==0)
dynareParallelRmDir(TmpFolder,Parallel(indPC))
......
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