diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-03-01 23:39:45 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-03-02 22:24:15 +0000 |
commit | 9a77c2a49033a4fe101fc0b954b5f4f4bdf4fa0c (patch) | |
tree | 591397c6614def60ae6b04f865d82470708e65bf /numpy | |
parent | a674115b1f154f3e9c1d0c1554345703064c8581 (diff) | |
download | numpy-9a77c2a49033a4fe101fc0b954b5f4f4bdf4fa0c.tar.gz |
BUG: Apply fix for unknown bug in dlamch to slamch too
This bug is mentioned, fixed, but not described, in cadbb5f2ec84cb774023bbe8cbe6f39a93e837d7
To be safe, we patch it for the equivalent float32 function.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/linalg/lapack_lite/f2c_config.c | 2 | ||||
-rw-r--r-- | numpy/linalg/lapack_lite/f2c_config.c.patch | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_lite/f2c_config.c b/numpy/linalg/lapack_lite/f2c_config.c index 02a6b4cc3..d0182a557 100644 --- a/numpy/linalg/lapack_lite/f2c_config.c +++ b/numpy/linalg/lapack_lite/f2c_config.c @@ -1782,7 +1782,7 @@ L10: doublereal slamc3_(real *a, real *b) { /* System generated locals */ - real ret_val; + volatile real ret_val; /* diff --git a/numpy/linalg/lapack_lite/f2c_config.c.patch b/numpy/linalg/lapack_lite/f2c_config.c.patch index 2d4d0022e..8650322ac 100644 --- a/numpy/linalg/lapack_lite/f2c_config.c.patch +++ b/numpy/linalg/lapack_lite/f2c_config.c.patch @@ -7,3 +7,12 @@ /* +@@ -1773,7 +1773,7 @@ L10: + doublereal slamc3_(real *a, real *b) + { + /* System generated locals */ +- real ret_val; ++ volatile real ret_val; + + + /* |