Skip to content

Commit 12c8c04

Browse files
committed
minor: switch np.dot to np.matmul in code snipped in installation
1 parent bbc5bd2 commit 12c8c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ and run the following code in Python:
264264
B = np.random.random((size, size))
265265
print("Time with %s threads: %f s" \
266266
%(os.environ.get("OMP_NUM_THREADS"),
267-
timeit(lambda: np.dot(A, B), number=4)))
267+
timeit(lambda: np.matmul(A, B), number=4)))
268268
269269
Subsequently set the environment variables to ``2`` or any higher number of threads available
270270
in your hardware (multi-threaded), and run the same code.

0 commit comments

Comments
 (0)