diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-13 22:44:17 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2019-01-19 09:50:37 +0100 |
commit | e160f7b7e9d55c81b2e593d8e95f7c2042262daf (patch) | |
tree | d035b99be54bb81452e68b343d679ff877995974 | |
parent | 476232d7b260788db6d2b3aee9ce69153584659d (diff) | |
download | cython-e160f7b7e9d55c81b2e593d8e95f7c2042262daf.tar.gz |
Clarify types in atan2() call for usage in MSVC++.
-rw-r--r-- | Cython/Utility/Complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/Complex.c b/Cython/Utility/Complex.c index fc37c0376..2e2277231 100644 --- a/Cython/Utility/Complex.c +++ b/Cython/Utility/Complex.c @@ -275,7 +275,7 @@ static {{type}} __Pyx_PyComplex_As_{{type_name}}(PyObject* o) { theta = 0; } else { r = -a.real; - theta = atan2{{m}}(0, -1); + theta = atan2{{m}}(0.0, -1.0); } } else { r = __Pyx_c_abs{{func_suffix}}(a); |