crf-chain2-tiers 0.2.3 → 0.2.4
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~logfloatPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: logfloat
API changes (from Hackage documentation)
Files
crf-chain2-tiers.cabal view
@@ -1,5 +1,5 @@ name: crf-chain2-tiers-version: 0.2.3+version: 0.2.4 synopsis: Second-order, tiered, constrained, linear conditional random fields description: The library provides implementation of the second-order, linear@@ -31,7 +31,7 @@ , monad-codec >= 0.2 && < 0.3 , data-lens >= 2.10.4 && < 2.11 , comonad >= 4.0 && < 4.3- , logfloat >= 0.12.1 && < 0.13+ , logfloat >= 0.12.1 && < 0.14 , parallel , sgd >= 0.3.2 && < 0.4 , vector-th-unbox >= 0.2.1 && < 0.3
src/Data/CRF/Chain2/Tiers/Model.hs view
@@ -304,7 +304,7 @@ phi :: Model -> Feat -> L.LogFloat phi Model{..} ft = case featIndex ft featMap of Just ix -> L.logToLogFloat (values U.! unFeatIx ix)- Nothing -> L.logToLogFloat (0 :: Float)+ Nothing -> L.logToLogFloat (0 :: Double) {-# INLINE phi #-}