Skip to content

Commit 5b9083f

Browse files
vargaslosimonbyrne
authored andcommitted
fix variable name (#294)
1 parent 2fce546 commit 5b9083f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/montecarlo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function montecarlo(mc_eval::Function, mc_monitor::Function,
5151
results = zeros(n_evals, n_returns)
5252
contrib = zeros(batchsize, n_returns)
5353
for nresults = 1:div(n_evals, batchsize)
54-
MPI.Recv!(contrib, MPI.ANY_SOURCE, 0, comm)
54+
MPI.Recv!(contrib, MPI.MPI_ANY_SOURCE, 0, comm)
5555
results[nresults*batchsize-batchsize+1:nresults*batchsize,:] = contrib
5656
mc_monitor(nresults*batchsize, results)
5757
end

0 commit comments

Comments
 (0)