Skip to content

Commit

Permalink
Fix call to round for Julia 1.0 (#28944)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2346be8)
  • Loading branch information
iht authored and KristofferC committed Sep 3, 2018
1 parent 4649f07 commit 7cf616c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/parallel-computing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ julia> for p in workers() # start tasks on the workers to process requests in pa
julia> @elapsed while n > 0 # print out results
job_id, exec_time, where = take!(results)
println("$job_id finished in $(round(exec_time,2)) seconds on worker $where")
println("$job_id finished in $(round(exec_time; digits=2)) seconds on worker $where")
n = n - 1
end
1 finished in 0.18 seconds on worker 4
Expand Down

0 comments on commit 7cf616c

Please sign in to comment.