We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b467c commit d87c30eCopy full SHA for d87c30e
2 files changed
.github/workflows/test.yml
@@ -28,5 +28,3 @@ jobs:
28
pip install numpy pytest threadpoolctl
29
- name: Run array test
30
run: pytest
31
- env:
32
- OPENBLAS_CORETYPE: NEOVERSEV1
test/python/test_array.py
@@ -6,15 +6,12 @@
6
#
7
# Licensed under the MIT License
8
9
-from pathlib import Path
10
-
11
import numpy as np
12
13
14
def test_array() -> None:
15
np.show_runtime()
16
- test_array_path = Path(__file__).parent / "test_array.npy"
17
- test_array = np.load(test_array_path)
+ test_array = np.arange(20000)
18
norm = np.linalg.norm(test_array)
19
print(f"norm = {norm}")
20
- assert np.isclose(norm, 1.0)
+ assert np.isclose(norm, 1632931.9244843002)
0 commit comments