Skip to content

Commit 20930de

Browse files
committed
bugfix
1 parent ec4e77e commit 20930de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ParallelUtilities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ get_nprocs_node(procs_used::Vector{<:Integer}=workers()) = get_nprocs_node(get_h
344344

345345
function pmapsum(f::Function,iterable,args...;kwargs...)
346346
@distributed (+) for i in 1:nworkers()
347-
np = workers_active(iterable)
347+
np = nworkers_active(iterable)
348348
iter_proc = split_across_processors(iterable,np,i)
349349
f(iter_proc,args...;kwargs...)
350350
end

0 commit comments

Comments
 (0)