Skip to content

Commit b9482fd

Browse files
committed
Fix simverify on boxes
1 parent b156d49 commit b9482fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jsrc/m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ static void auditsimverify0(J jt,A w){
532532
if(ACISPERM(AC(w)))R; // PERMANENT block may be referred to; don't touch it
533533
if(AC(w)==0 || (AC(w)<0 && AC(w)!=ACINPLACE+ACUC1 && AC(w)!=ACINPLACE+2 && AC(w)!=ACINPLACE+3))SEGFAULT; // could go higher but doesn't in our tests
534534
if(AFLAG(w)&AFVIRTUAL)auditsimverify0(jt,ABACK(w)); // check backer
535-
if(AT(w)&(RAT|XNUM|BOX)) {A* v=AAV(w); DQ(AT(w)&RAT?2*AN(w):AN(w), if(*v)auditsimverify0(jt,CNULLNOERR(*v)); ++v;)} // check descendants even if nonrecursive
536535
if(!(AFLAG(w)&AFVIRTUAL)&&UCISRECUR(w)){ // process children
536+
if((AT(w)&(RAT|XNUM|BOX|SPARSE))>0) {A* v=AAV(w); DQ(AT(w)&RAT?2*AN(w):AN(w), if(*v)auditsimverify0(jt,CNULLNOERR(QCWORD(*v))); ++v;)} // check descendants even if nonrecursive
537537
if((AT(w)&BOX+SPARSE)>0){
538538
// obsolete I n=AN(w); I af=AFLAG(w);
539539
// obsolete A* RESTRICT wv=AAV(w); // pointer to box pointers

0 commit comments

Comments
 (0)