From c3b0c65814d995577c32e8f2b94023850616deec Mon Sep 17 00:00:00 2001 From: mustafa Date: Sun, 13 Dec 2015 13:24:20 -0500 Subject: [PATCH] Update deprecated syntax. --- doc/manual/parallel-computing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual/parallel-computing.rst b/doc/manual/parallel-computing.rst index 62894028cab09..fc7eacd5c2d4b 100644 --- a/doc/manual/parallel-computing.rst +++ b/doc/manual/parallel-computing.rst @@ -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 @@ -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