Skip to content

Commit 88a6a7c

Browse files
committed
Fix example
1 parent baa3fe8 commit 88a6a7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/simple-extension/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ import rust_ext
2121

2222
a = np.array([0.0, 1.0])
2323
b = np.array([2.0, 3.0])
24-
rust_ext(2.0, a, b)
24+
rust_ext.axpy(2.0, a, b)
2525
```
26+
which returns `array([2., 5.])`.

0 commit comments

Comments
 (0)