We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a06ba4 + 492de32 commit 05889cdCopy full SHA for 05889cd
src/MPIBackend.jl
@@ -41,7 +41,7 @@ function prun_debug(driver::Function,b::MPIBackend,nparts)
41
if !MPI.Initialized()
42
MPI.Init()
43
end
44
- if (length(nparts) != 1)
+ if (prod(nparts) != 1)
45
MPI.Abort(MPI.COMM_WORLD,0)
46
47
part = get_part_ids(b,nparts)
0 commit comments