diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-10 20:08:11 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-10 20:08:11 +0100 |
commit | ae491055fae927dbdfabeea69ffee166a9720a68 (patch) | |
tree | 796b4d02b8ce077697bfd7bf3b4613d53b5189ec /py/objfloat.c | |
parent | f31b6ff33428d813511845bc6604fae42073676e (diff) |
py: Fix float/complex binop returning NULL; implement complex power.
Diffstat (limited to 'py/objfloat.c')
-rw-r--r-- | py/objfloat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfloat.c b/py/objfloat.c index 8ccba1024..1f96ac18e 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -136,7 +136,7 @@ check_zero_division: case MP_BINARY_OP_MORE_EQUAL: return MP_BOOL(lhs_val >= rhs_val); default: - return NULL; // op not supported + return MP_OBJ_NULL; // op not supported } return mp_obj_new_float(lhs_val); } |