Skip to content

Commit

Permalink
Merge pull request #782 from jamesjer/master
Browse files Browse the repository at this point in the history
Fix PrintPPerm4 on big endian machines
  • Loading branch information
james-d-mitchell committed May 6, 2016
2 parents 2c3b9c7 + e488ba5 commit b47ce25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pperm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ Obj PrintPPerm4(Obj self, Obj f){

deg=DEG_PPERM4(f);
if(deg==0) Pr("<empty partial perm>", 0L, 0L);
n=MAX(deg, CODEG_PPERM2(f));
n=MAX(deg, CODEG_PPERM4(f));
ResizeTmpPPerm(n);
ptseen=(UInt4*)(ADDR_OBJ(TmpPPerm));
for(i=0;i<n;i++) ptseen[i]=0;
Expand Down

0 comments on commit b47ce25

Please sign in to comment.