Skip to content

Commit

Permalink
v0.1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Aug 26, 2023
1 parent bcd86dd commit 9029d95
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for `weierstrass-functions`

## 0.1.3.1 - 2023-08-26

Changed `kleinJ` to avoid possible float overflows.


## 0.1.3.0 - 2023-08-24

Fixed some mistakes.
Expand Down
3 changes: 2 additions & 1 deletion src/Math/Eisenstein.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ kleinJ tau =
lbd = lambda tau
x = lbd * (1 - lbd)
in
256 * ((1 - x) %^% 3) / (x %^% 2)
-- 256 * ((1 - x) %^% 3) / (x %^% 2)
256 * ((1/x - 1) %^% 2) * (1 - x)
--eisensteinE4 tau %^% 3 / modularDiscriminant tau

-- | Arithmetic-geometric mean
Expand Down
2 changes: 1 addition & 1 deletion weierstrass-functions.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: weierstrass-functions
version: 0.1.3.0
version: 0.1.3.1
synopsis: Weierstrass Elliptic Functions
description: Evaluation of Weierstrass elliptic functions and some related functions.
homepage: https://github.com/stla/weierstrass-functions#readme
Expand Down

0 comments on commit 9029d95

Please sign in to comment.