Skip to content

Commit 103ae43

Browse files
committed
py/objcomplex: Remove unnecessary assignment of variable.
1 parent ad6aae1 commit 103ae43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/objcomplex.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ mp_obj_t mp_obj_complex_binary_op(mp_uint_t op, mp_float_t lhs_real, mp_float_t
229229
if (abs1 == 0) {
230230
if (rhs_imag == 0 && rhs_real >= 0) {
231231
lhs_real = (rhs_real == 0);
232-
rhs_real = 0;
233232
} else {
234233
mp_raise_msg(&mp_type_ZeroDivisionError, "0.0 to a complex power");
235234
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy