Skip to content

Commit

Permalink
Fix pmap signature in CachingPool docstring (#37885)
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub authored Nov 10, 2020
1 parent 8fc3221 commit 9c498bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Distributed/src/workerpool.jl
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ For global variables, only the bindings are captured in a closure, not the data.
const foo = rand(10^8);
wp = CachingPool(workers())
let foo = foo
pmap(wp, i -> sum(foo) + i, 1:100);
pmap(i -> sum(foo) + i, wp, 1:100);
end
```
Expand Down

4 comments on commit 9c498bf

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - successfully executed benchmarks. A full report can be found here. cc @christopher-dG

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here. cc @maleadt

Please sign in to comment.