Skip to content

Commit d2dcef0

Browse files
committed
tutorial typos
1 parent d5c59fd commit d2dcef0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/tutorial_python_call.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gives us that possibility. The installation of PyJulia on Ubuntu linux is simple
1616
$ python3 -m pip install julia # Only necessary first time you run it
1717
...
1818
$ python3
19-
>>> import julia
19+
>>> from julia.api import Julia
2020
>>> jl = Julia(compiled_modules=False) # compilation flag necessary on ubuntu
2121
>>> julia.install() # Only necessary first time you run it
2222
>>> from julia import Base
@@ -56,8 +56,8 @@ def my_compute_M(s,der):
5656
An evaluation of the matrix function can be done by the call:
5757
```
5858
>>> my_compute_M(0.3,0)
59-
matrix([[ 6.76183424+0.j, 3.16183424+0.j],
60-
[ 4.16183424+0.j, -3.7 +0.j]])
59+
matrix([[4.16183424+0.j, 3.76183424+0.j],
60+
[4.16183424+0.j, 0.46183424+0.j]])
6161
```
6262
We instantiate a new NEP based with `Mder_NEP` which first must be imported
6363
```

0 commit comments

Comments
 (0)