Skip to content

Commit

Permalink
Linux test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryHRich committed Nov 14, 2024
1 parent 4b47288 commit a7be9e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jsrc/vcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ A jtapip(J jt, A a, A w){F2PREFIP;A h;C*av,*wv;
// If w must change precision, do. This is where we catch domain errors.
if(unlikely(TYPESNE(at,AT(w))))RZ(w=cvt(at,w));
// result is pristine if a and w both are, and they are not the same block, and there is no fill, and w is inplaceable (of course we know a is)
if(allosize(a)>=ak+wk+(REPSGN((-(at&LAST0))&((AFLAG(a)&AFNJA)-1))&(SZI-1))){ // SZI-1 if LAST0 && !NJA
I allosize=likely(!(AFLAG(a)&AFNJA))?FHRHSIZE(AFHRH(a))-AK(a) : AM(a); // since a can't be virtual or GMP, inline the computation of blocksize
if(allosize>=ak+wk+(REPSGN((-(at&LAST0))&((AFLAG(a)&AFNJA)-1))&(SZI-1))){ // SZI-1 if LAST0 && !NJA

#endif
// If the items of w must be padded to the result item-size, do so.
Expand Down

0 comments on commit a7be9e0

Please sign in to comment.