We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8f07a commit 01b877dCopy full SHA for 01b877d
1 file changed
py/objcomplex.c
@@ -34,7 +34,7 @@ STATIC void complex_print(void (*print)(void *env, const char *fmt, ...), void *
34
} else {
35
format_float(o->real, buf, sizeof(buf), 'g', 6, '\0');
36
print(env, "(%s+", buf);
37
- format_float(o->real, buf, sizeof(buf), 'g', 6, '\0');
+ format_float(o->imag, buf, sizeof(buf), 'g', 6, '\0');
38
print(env, "%sj)", buf);
39
}
40
#else
0 commit comments