Skip to content

Commit

Permalink
docs: remove direct calls to require (JuliaLang#17277)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris authored and mfasi committed Sep 5, 2016
1 parent 29672e2 commit 179a34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/manual/parallel-computing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ The function ``count_heads`` simply adds together ``n`` random bits.
Here is how we can perform some trials on two machines, and add together the
results::

require("count_heads")
@everywhere include("count_heads.jl")

a = @spawn count_heads(100000000)
b = @spawn count_heads(100000000)
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/workflow-tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ issuing the command::

If you further add the following to your ``.juliarc.jl`` file ::

isinteractive() && isfile("_init.jl") && require("_init.jl")
isfile("_init.jl") && include(joinpath(pwd(), "_init.jl"))

then calling ``julia`` from that directory will run the initialization
code without the additional command line argument.
Expand Down

0 comments on commit 179a34c

Please sign in to comment.