Skip to content

Commit

Permalink
Repaired error in ExpandRat with AT.WorkPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
vermaseren committed Jul 20, 2015
1 parent 0d017f7 commit a078fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/ratio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3197,7 +3197,7 @@ NormArg:;
*r++ = arg2[0]; *r++ = arg2[1];
m++; while ( m < mm ) *r++ = *m++;
*rrr = r-rrr;
if ( AT.WorkPointer < AT.WorkTop && AT.WorkPointer >= AT.WorkSpace )
if ( r < AT.WorkTop && r >= AT.WorkSpace )
AT.WorkPointer = r;
Normalize(BHEAD rrr);
StoreTerm(BHEAD rrr);
Expand Down

0 comments on commit a078fe7

Please sign in to comment.