Skip to content

Commit

Permalink
Upgrade streamly version (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnjtranjan authored Mar 4, 2023
1 parent 73673bd commit a8f1621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ let haskellPackages =
# } {})
(let src = fetchGit {
url = "[email protected]:composewell/streamly.git";
rev = "3c3ec6de4831a8667c415393e1dbc351ba508dbe";
rev = "8240f5f870fe47623df99514aed6a542f80c9641";
}; in super.callCabal2nix "streamly" src {})
(old:
{ librarySystemDepends =
Expand All @@ -64,7 +64,7 @@ let haskellPackages =
nixpkgs.haskell.lib.overrideCabal
(let src = fetchGit {
url = "[email protected]:composewell/streamly.git";
rev = "3c3ec6de4831a8667c415393e1dbc351ba508dbe";
rev = "8240f5f870fe47623df99514aed6a542f80c9641";
}; in super.callCabal2nix "streamly-core" "${src}/core" {})
(old:
{ librarySystemDepends =
Expand Down
4 changes: 2 additions & 2 deletions src/Streamly/Statistics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ logBase2 v0
-- Array length must be power of 2.
--
{-# INLINE fft #-}
fft :: MonadIO m => MA.Array (Complex Double) -> m ()
fft :: MonadIO m => MA.MutArray (Complex Double) -> m ()
fft marr
| isPower2 len = bitReverse 0 0
| otherwise = error "fft: Array length must be power of 2"
Expand Down Expand Up @@ -754,7 +754,7 @@ range = Fold.teeWith (-) maximum minimum
--
-- /Pre-release/
{-# INLINE md #-}
md :: MonadIO m => Fold m ((Double, Maybe Double), m (MA.Array Double)) Double
md :: MonadIO m => Fold m ((Double, Maybe Double), m (MA.MutArray Double)) Double
md =
Fold.rmapM computeMD
$ Fold.tee (Fold.lmap fst mean) (Fold.lmap snd Fold.latest)
Expand Down

0 comments on commit a8f1621

Please sign in to comment.