Skip to content

Commit

Permalink
Merge pull request #14393 from mmoh/patch-1
Browse files Browse the repository at this point in the history
Update deprecated syntax  "{a,b, ...}".
  • Loading branch information
yuyichao committed Dec 13, 2015
2 parents efc7105 + c3b0c65 commit 53978e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manual/parallel-computing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ called *parallel map*, implemented in Julia as the :func:`pmap` function.
For example, we could compute the singular values of several large
random matrices in parallel as follows::

M = {rand(1000,1000) for i=1:10}
M = Matrix{Float64}[rand(1000,1000) for i=1:10]
pmap(svd, M)

Julia's :func:`pmap` is designed for the case where each function call does
Expand Down Expand Up @@ -405,7 +405,7 @@ they finish their current tasks.
As an example, consider computing the singular values of matrices of
different sizes::

M = {rand(800,800), rand(600,600), rand(800,800), rand(600,600)}
M = Matrix{Float64}[rand(800,800), rand(600,600), rand(800,800), rand(600,600)]
pmap(svd, M)

If one process handles both 800x800 matrices and another handles both
Expand Down

0 comments on commit 53978e7

Please sign in to comment.