Skip to content

Commit 58e7d80

Browse files
committed
test: run test on parallel pool
1 parent 1c1a23e commit 58e7d80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
%%
2-
demo(parfor_arg=0,show_figures=false,show_progress=false);
1+
if isempty(gcp('nocreate'))
2+
parpool('Threads');
3+
end
4+
demo(parfor_arg=4,show_figures=false,show_progress=false);

0 commit comments

Comments
 (0)