Skip to content

Commit

Permalink
redo parfor
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguyduval committed Feb 15, 2018
1 parent f204b56 commit 6acba3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/imageprocessing/as_improc_blockwising.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
end
end

for (block=1:n_blocki*n_blockj)
parfor(block=1:n_blocki*n_blockj,parforArg)
j=1+(blocksize-overlap)*(mod(block-1,n_blockj));
i=1+(blocksize-overlap)*(block-mod(block-1,n_blockj)-1)/n_blockj;

Expand Down

0 comments on commit 6acba3f

Please sign in to comment.