summaryrefslogtreecommitdiff
path: root/numpy/__init__.py
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-05-31 13:02:14 +0300
committermattip <matti.picus@gmail.com>2020-05-31 13:02:14 +0300
commitae59835cfc9af082bd54f6246ecd60b48fc9e4c0 (patch)
tree7a9f0afbc30e0577b9eba08a2fac290b74de5fd8 /numpy/__init__.py
parentcbde47818a821ef951ca73e851579ca75d23a82b (diff)
downloadnumpy-ae59835cfc9af082bd54f6246ecd60b48fc9e4c0.tar.gz
DOC,ENH: extend error message when Accelerate is detected
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r--numpy/__init__.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py
index e6a24f0d1..1c3b11844 100644
--- a/numpy/__init__.py
+++ b/numpy/__init__.py
@@ -279,12 +279,11 @@ else:
error_message = "{}: {}".format(w[-1].category.__name__, str(w[-1].message))
msg = (
"Polyfit sanity test emitted a warning, most likely due "
- "to using a buggy Accelerate backend. "
- "If you compiled yourself, "
- "see site.cfg.example for information. "
+ "to using a buggy Accelerate backend. If you compiled "
+ "yourself, more information is available at "
+ "https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries "
"Otherwise report this to the vendor "
- "that provided NumPy.\n{}\n".format(
- error_message))
+ "that provided NumPy.\n{}\n".format(error_message))
raise RuntimeError(msg)
del _mac_os_check