packages feed

chorale-geo 0.1.1 → 0.1.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

chorale-geo.cabal view
@@ -1,5 +1,5 @@ name:           chorale-geo-version:        0.1.1+version:        0.1.2 homepage:       https://github.com/mocnik-science/chorale-geo bug-reports:    https://github.com/mocnik-science/chorale-geo/issues synopsis:       A module containing basic geo functions
src/Chorale/Geo/Coordinates.hs view
@@ -128,4 +128,4 @@ -- --== COORDINATE TRANSFORMATIONS  transformWGS84toCartesian :: Double -> CoordinatesWGS84 -> CoordinatesCartesian-transformWGS84toCartesian k (CoordinatesWGS84 (lon, lat)) = CoordinatesCartesian (128 / pi * 2**k * (degreeToRad lon + pi), 128 / pi * 2**k * (pi - log (tan (pi / 4 + degreeToRad lat / 2))))+transformWGS84toCartesian k (CoordinatesWGS84 (lat, lon)) = CoordinatesCartesian (128 / pi * 2**k * (degreeToRad lon + pi), 128 / pi * 2**k * (pi - log (tan (pi / 4 + degreeToRad lat / 2))))