Skip to content
Snippets Groups Projects
Commit 103ae43f authored by Damien George's avatar Damien George
Browse files

py/objcomplex: Remove unnecessary assignment of variable.

parent ad6aae13
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,6 @@ mp_obj_t mp_obj_complex_binary_op(mp_uint_t op, mp_float_t lhs_real, mp_float_t
if (abs1 == 0) {
if (rhs_imag == 0 && rhs_real >= 0) {
lhs_real = (rhs_real == 0);
rhs_real = 0;
} else {
mp_raise_msg(&mp_type_ZeroDivisionError, "0.0 to a complex power");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment