Skip to content

Commit

Permalink
v0.5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Jun 3, 2024
1 parent 18828ff commit 620f768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ roots of a suitable univariate spray or its number of real roots in a given
interval. This can be very slow if the degree of the spray is not small.


## 0.5.3.0 - 2024-05-XX
## 0.5.3.0 - 2024-06-03

* Now the denominator of a `RatioOfSprays` is always monic, i.e. it is a
polynomial whose leading coefficient is 1.
2 changes: 1 addition & 1 deletion src/Math/Algebra/Hspray.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ removeZeroTerms = HM.filter (/= AlgAdd.zero)

-- | helper function for lone and lone'
lonePower :: Int -> Int -> Powers
lonePower n p = if n == 0
lonePower n p = if n == 0 || p == 0
then nullPowers
else Powers (S.replicate (n - 1) 0 |> p) n

Expand Down

0 comments on commit 620f768

Please sign in to comment.