summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/umath/scalarmath.c.src6
1 files changed, 5 insertions, 1 deletions
diff --git a/numpy/core/src/umath/scalarmath.c.src b/numpy/core/src/umath/scalarmath.c.src
index fa69f18d4..1829a921e 100644
--- a/numpy/core/src/umath/scalarmath.c.src
+++ b/numpy/core/src/umath/scalarmath.c.src
@@ -419,7 +419,11 @@ static NPY_INLINE int
return 0;
}
-static NPY_INLINE int
+/*
+ * NOTE: FINLINE only because it seems to work around incorrect FPE handling
+ * in some clang versions. If the tests without it, it could be removed.
+ */
+NPY_FINLINE int
@name@_ctype_multiply(@type@ a, @type@ b, @type@ *out)
{
out->real = a.real * b.real - a.imag * b.imag;