Skip to content

Commit 79a9a4a

Browse files
authored
Fix typo in example
1 parent 22d8362 commit 79a9a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pool = parpool(c);
222222
% List the hosts the workers are running on. For a small pool,
223223
% all the workers will likely be on the same machine. For a large
224224
% pool, the workers will be spread over multiple nodes.
225-
future = parfevalOnAll(p, @getenv, 1, 'HOST')
225+
future = parfevalOnAll(pool, @getenv, 1, 'HOST')
226226
wait(future);
227227
fetchOutputs(future)
228228

0 commit comments

Comments
 (0)