Skip to content

Commit 1d76779

Browse files
ihtKristofferC
authored andcommitted
Fix call to round for Julia 1.0 (#28944)
(cherry picked from commit 2346be8)
1 parent 0089ffe commit 1d76779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/manual/parallel-computing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ julia> for p in workers() # start tasks on the workers to process requests in pa
10861086
10871087
julia> @elapsed while n > 0 # print out results
10881088
job_id, exec_time, where = take!(results)
1089-
println("$job_id finished in $(round(exec_time,2)) seconds on worker $where")
1089+
println("$job_id finished in $(round(exec_time; digits=2)) seconds on worker $where")
10901090
n = n - 1
10911091
end
10921092
1 finished in 0.18 seconds on worker 4

0 commit comments

Comments
 (0)