Skip to content

Commit c989b19

Browse files
committed
fix 2 missed DUMMYSELF
1 parent 04424af commit c989b19

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

jsrc/v.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ A jtdropr(J jt,I n,A w){ARGCHK1(w); A a,z; RZ(a=sc(n)); R IRS2(a,w,0, RMAX,1L,jt
156156
DF1(jticap){A a,e;I n;P*p;
157157
F1RANK(1,jticap,self);
158158
SETIC(w,n);
159-
if((AT(w)&SPARSE+B01)==SPARSE+B01){
159+
if(unlikely((AT(w)&SPARSE+B01)==SPARSE+B01)){
160160
p=PAV(w); a=SPA(p,a); e=SPA(p,e);
161161
R BAV(e)[0]||equ(mtv,a) ? repeat(w,IX(n)) : repeat(SPA(p,x),ravel(SPA(p,i)));
162162
}
163-
R B01&AT(w) ? ifb(n,BAV(w)) : repeat(w,IX(n)); // scaf could improve
163+
R likely((B01&AT(w))!=0) ? ifb(n,BAV(w)) : repeat(w,IX(n));
164164
}
165165

166166
A jtcharmap(J jt,A w,A x,A y){A z;B bb[256];I k,n,wn;UC c,*u,*v,zz[256];

jsrc/viix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ DF2(jticap2){A*av,*wv,z;C*uu,*vv;I ar,*as,at,b,c,ck,cm,ge,gt,j,k,m,n,p,q,r,t,wr,
175175
wr=AR(w); wt=AT(w); ws=AS(w);
176176
ASSERT(r<=wr,EVRANK);
177177
ASSERTAGREE(as+ar-r,ws+wr-r,r)
178-
ASSERT((POSIFHOMO(at,wt)&-AN(a)&-AN(w))>=0,EVDOMAIN); ASSERT(!ISSPARSE(at|wt),EVNONCE); // if no empties, verify agreement & non-sparse
178+
ASSERT((POSIFHOMO(at,wt)&-AN(a)&-AN(w))>=0,EVINHOMO); ASSERT(!ISSPARSE(at|wt),EVNONCE); // if no empties, verify agreement & non-sparse
179179
CPROD(AN(w),m,wr-r,ws); CPROD(AN(w),c,r,ws+wr-r); // m=#atoms in result c=# atoms in a cell of w
180180
GATV(z,INT,m,wr-r,ws); zv=AV(z);
181181
if(((m-1)|(n-1)|(c-1))<0){DQ(m, *zv++=0;); R z;} // exit with zeros for empty args

jsrc/xd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ F1(jtjdir){PROLOG(0103);A*v,z,*zv;C*dir,*pat,*s,*x;I j=0,n=32;DIR*DP;struct dire
381381

382382

383383

384-
F1(jtjfatt1){ASSERT(0,EVNONCE);}
385-
F2(jtjfatt2){ASSERT(0,EVNONCE);}
384+
DF1(jtjfatt1){ASSERT(0,EVNONCE);}
385+
DF2(jtjfatt2){ASSERT(0,EVNONCE);}
386386

387387

388388
DF1(jtjfperm1){A y;F f;C b[11];

0 commit comments

Comments
 (0)