diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-08 06:29:50 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2001-01-08 06:29:50 (GMT) |
commit | 010b0cc218cf67da0073173b60fd8dcbc81ddfff (patch) | |
tree | 82f06ba9ebc6e03e07390e260ef45308b7063d9f /Objects/floatobject.c | |
parent | 81473b12b7cbc96ae5e7189f414b9fbe24f6bfe0 (diff) | |
download | cpython-010b0cc218cf67da0073173b60fd8dcbc81ddfff.zip cpython-010b0cc218cf67da0073173b60fd8dcbc81ddfff.tar.gz cpython-010b0cc218cf67da0073173b60fd8dcbc81ddfff.tar.bz2 |
Fix a silly bug in float_pow. Sorry Tim.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index c841423..3e87903 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -503,7 +503,7 @@ float_pow(PyObject *v, PyObject *w, PyObject *z) PyFPE_START_PROTECT("pow", return NULL) if ((PyObject *)z != Py_None) { double iz; - CONVERT_TO_DOUBLE(w, iz); + CONVERT_TO_DOUBLE(z, iz); ix=fmod(1.0, iz); if (ix!=0 && iz<0) ix+=iz; } |