Skip to content

Commit 486dd25

Browse files
committed
Remove tautologically true #ifdef
1 parent b5f9d0f commit 486dd25

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

jsrc/conversions.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ jtbcvt(J jt, C mode, A w) {
600600
FPREFIP;
601601
A y, z = w;
602602
if (!w) return 0;
603-
#ifdef NANFLAG
604603
// there may be values (especially b types) that were nominally CMPX but might actually be integers. Those were
605604
// stored with the real part being the actual integer value and the imaginary part as the special 'flag' value. We
606605
// handle those here. If all the imaginary parts were flags, we accept all the integer parts and change the type
@@ -629,7 +628,6 @@ jtbcvt(J jt, C mode, A w) {
629628
w = z; // this result is now eligible for further demotion
630629
}
631630
}
632-
#endif
633631
// for all numerics, try Boolean/int/float in order, stopping when we find one that holds the data
634632
if (mode & 1 || !(AT(w) & XNUM + RAT)) { // if we are not stopping at XNUM/RAT
635633
// To avoid a needless copy, suppress conversion to B01 if type is B01, to INT if type is INT, etc

0 commit comments

Comments
 (0)