Skip to content

Commit

Permalink
Fixed the suggested simplification (list/pol confusion)
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke committed Sep 4, 2020
1 parent 508c4d9 commit 8519e20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ratfunul.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,8 @@ local num,den,R,cf,pow,dr,a;
num[1],den[1],num[2]-den[2],
IndeterminateNumberOfUnivariateRationalFunction(ratfun));
# maintain factorization of denominator
StoreFactorsPol(R,den,ListWithIdenticalEntries(pow+1,dr));
StoreFactorsPol(R,DenominatorOfRationalFunction(cf),
ListWithIdenticalEntries(pow+1,dr));
else
cf:=num/den; # cancellation
fi;
Expand Down

0 comments on commit 8519e20

Please sign in to comment.