1616#define STATEANOTEMPTYX 17 // set if a arg has atoms
1717#define STATEANOTEMPTY ((I)1 << STATEANOTEMPTYX)
1818#define STATEAWNOTEMPTYX 18 // set if a and w args both have atoms
19- #define STATEAWNOTEMPTY ((I)1 << STATEAWNOTEMPTYX)
2019// These bits start where they do to avoid overlap with AFPRISTINE. Also, they are above where rank significance is
2120#define STATEOUTERREPEATAX 22
2221#define STATEOUTERREPEATA (((I)1) << STATEOUTERREPEATAX)
@@ -64,7 +63,7 @@ jtrank1ex(J jt, AD *RESTRICT w, A fs, I rr, AF f1) {
6463 // multiple cells. Loop through them.
6564 // Get size of each argument cell in atoms. If this overflows, there must be a 0 in the frame, & we will have
6665 // gone through the fill path (& caught the overflow)
67- CPROD (AN ( w ), mn , wf , AS (w ));
66+ CPROD (mn , wf , AS (w ));
6867 PROD (wcn , rr , AS (w ) + wf ); // number of cells, number of atoms in a cell
6968 // ?cn=number of atoms in a cell, ?k=#bytes in a cell
7069 wk = wcn << bplg (AT (w ));
@@ -389,9 +388,8 @@ jtrank2ex(J jt, AD *RESTRICT a, AD *RESTRICT w, A fs, UI lrrrlcrrcr, AF f2) {
389388 los = aof - wof < 0 ? AS (w ) : los ;
390389 state |= (aof - wof ) & STATEOUTERREPEATA ;
391390 ASSERTAGREE (AS (a ), AS (w ), sof ) // prefixes must agree
392- CPROD (state & STATEAWNOTEMPTY , outerframect , sof , los );
393- CPROD (
394- state & STATEAWNOTEMPTY , outerrptct , lof - sof , los + sof ); // get # cells in frame, and in unmatched frame
391+ CPROD (outerframect , sof , los );
392+ CPROD (outerrptct , lof - sof , los + sof ); // get # cells in frame, and in unmatched frame
395393 }
396394
397395 // Now work on inner frames. Compare frame lengths after discarding outer frames
@@ -410,8 +408,8 @@ jtrank2ex(J jt, AD *RESTRICT a, AD *RESTRICT w, A fs, UI lrrrlcrrcr, AF f2) {
410408 state |=
411409 (ew - ea ) & STATEINNERREPEATW ; // make lis the shape pointer for longer; if a is longer, indicate repeating w
412410 }
413- CPROD (state & STATEAWNOTEMPTY , innerrptct , lif - sif , lis + sif ); // number of repetitions per matched-frame cell
414- CPROD (state & STATEAWNOTEMPTY , innerframect , sif , lis ); // number of cells in matched frame
411+ CPROD (innerrptct , lif - sif , lis + sif ); // number of repetitions per matched-frame cell
412+ CPROD (innerframect , sif , lis ); // number of cells in matched frame
415413
416414 // Migrate loops with count=1 toward the inner to reduce overhead. We choose not to promote the outer to the inner
417415 // if both innerframect & innerrptct are 1, on grounds of rarity
0 commit comments