Commit e160f7b7 authored by Stefan Behnel's avatar Stefan Behnel

Clarify types in atan2() call for usage in MSVC++.

parent 476232d7
...@@ -275,7 +275,7 @@ static {{type}} __Pyx_PyComplex_As_{{type_name}}(PyObject* o) { ...@@ -275,7 +275,7 @@ static {{type}} __Pyx_PyComplex_As_{{type_name}}(PyObject* o) {
theta = 0; theta = 0;
} else { } else {
r = -a.real; r = -a.real;
theta = atan2{{m}}(0, -1); theta = atan2{{m}}(0.0, -1.0);
} }
} else { } else {
r = __Pyx_c_abs{{func_suffix}}(a); r = __Pyx_c_abs{{func_suffix}}(a);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment