Changed default variable attribute so variables are finite.

This commit is contained in:
Claudio L 2019-03-02 14:26:43 -05:00
parent 03ec5a87e8
commit 42aba71cdd

View file

@ -5470,8 +5470,8 @@ BINT rplSymbGetAttr(WORDPTR object)
// SET DEFAULT ATTRIBUTES FOR VARIABLES THAT DON'T HAVE THEM (REAL IN REAL MODE, COMPLEX IN COMPLEX MODE)
if(!attr) {
if(rplTestSystemFlag(FL_COMPLEXMODE)) attr=IDATTR_ISINFCPLX;
else attr=IDATTR_ISINFREAL;
if(rplTestSystemFlag(FL_COMPLEXMODE)) attr=IDATTR_ISCPLX;
else attr=IDATTR_ISREAL;
}
return attr;