packages feed

nonlinear-optimization 0.3.4 → 0.3.5

raw patch · 2 files changed

+9/−1 lines, 2 files

Files

Numeric/Optimization/Algorithms/HagerZhang05.hsc view
@@ -268,6 +268,10 @@ mutableG :: Gradient t -> Gradient Mutable mutableG (VGradient f) = MGradient f'     where+      f' :: (PrimMonad m, Functor m) =>+            PointMVector m+         -> GradientMVector m+         -> m ()       f' mx mret = f <$> copyInput mx >>= copyOutput mret mutableG (MGradient f) = MGradient f @@ -313,6 +317,10 @@ mutableC :: Combined t -> Combined Mutable mutableC (VCombined f) = MCombined f'     where+      f' :: (PrimMonad m, Functor m) =>+            PointMVector m+         -> GradientMVector m+         -> m Double       f' mx mret = do         (v,r) <- f <$> copyInput mx         copyOutput mret r
nonlinear-optimization.cabal view
@@ -3,7 +3,7 @@ Tested-With:         GHC Category:            Math Name:                nonlinear-optimization-Version:             0.3.4+Version:             0.3.5 Stability:           experimental License:             GPL License-File:        LICENSE