From 12c8c04b2c0c5a066a73ee24f7a2a6ec9d9d96b8 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Thu, 2 Jan 2025 22:24:45 +0000 Subject: [PATCH] minor: switch np.dot to np.matmul in code snipped in installation --- docs/source/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index c0eff42d..cfc60a26 100755 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -264,7 +264,7 @@ and run the following code in Python: B = np.random.random((size, size)) print("Time with %s threads: %f s" \ %(os.environ.get("OMP_NUM_THREADS"), - timeit(lambda: np.dot(A, B), number=4))) + timeit(lambda: np.matmul(A, B), number=4))) Subsequently set the environment variables to ``2`` or any higher number of threads available in your hardware (multi-threaded), and run the same code.