From ca21c65a237f1fbeb6b71ad124c31e9b59a41c98 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 16 May 2008 11:28:56 +0000 Subject: Following Amaury's advice --- Modules/cmathmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/cmathmodule.c b/Modules/cmathmodule.c index 07b2f29..109f2cc 100644 --- a/Modules/cmathmodule.c +++ b/Modules/cmathmodule.c @@ -920,7 +920,7 @@ cmath_phase(PyObject *self, PyObject *args) errno = 0; PyFPE_START_PROTECT("arg function", return 0) phi = c_atan2(z); - PyFPE_END_PROTECT(z) + PyFPE_END_PROTECT(phi) if (errno != 0) return math_error(); else -- cgit v0.12