Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Clonkk committed Apr 6, 2022
1 parent 8e233f3 commit 4bf388f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ex06_tensor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import arraymancer
import nimjl

proc main() =
Julia.init:
Julia.init(1):
Pkg:
add "LinearAlgebra"
# Initialize Julia VM. This should be done once in the lifetime of your program.
Expand Down
2 changes: 1 addition & 1 deletion examples/ex10_julia_threads.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ proc main() =
# Julia.init(4)
# Calling Julia.init() is equivalent to calling Julia.init(1)
Julia.init(4):
Pkg: add("DSP")
Pkg: add("LinearAlgebra")

let Threads = jlGetModule("Threads")
echo Threads.nthreads()
Expand Down

0 comments on commit 4bf388f

Please sign in to comment.