[bugfix] comparator transitivity broken
This commit is contained in:
parent
015d0872c9
commit
39b1e6c6bc
|
@ -133,6 +133,7 @@ pic_number_nan_p(pic_state *pic)
|
||||||
return pic_false_value(); \
|
return pic_false_value(); \
|
||||||
\
|
\
|
||||||
for (i = 0; i < argc; ++i) { \
|
for (i = 0; i < argc; ++i) { \
|
||||||
|
f = g; \
|
||||||
if (pic_float_p(argv[i])) \
|
if (pic_float_p(argv[i])) \
|
||||||
g = pic_float(argv[i]); \
|
g = pic_float(argv[i]); \
|
||||||
else if (pic_int_p(argv[i])) \
|
else if (pic_int_p(argv[i])) \
|
||||||
|
|
Loading…
Reference in New Issue