diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2020-06-11 13:49:34 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-11 13:49:34 -0600 |
| commit | f1206ddb24d35781328266b2b02fa27e6fbb9846 (patch) | |
| tree | c8dbbaef0dfc43e23f5197ce379fa2aa1d0b984e /numpy | |
| parent | 19bc8bbe37044b9f23d80bb282758071d0d8bf15 (diff) | |
| parent | 12c0b0eac8ba4216011634bcec53aad41d129e70 (diff) | |
| download | numpy-f1206ddb24d35781328266b2b02fa27e6fbb9846.tar.gz | |
Merge pull request #16452 from mattip/accelerate-error
DOC,ENH: extend error message when Accelerate is detected
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/__init__.py | 9 |
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 |
