diff --git a/hmm-hmatrix.cabal b/hmm-hmatrix.cabal
--- a/hmm-hmatrix.cabal
+++ b/hmm-hmatrix.cabal
@@ -1,5 +1,5 @@
 Name:                hmm-hmatrix
-Version:             0.0
+Version:             0.0.0.1
 Synopsis:            Hidden Markov Models using HMatrix primitives
 Description:
   Hidden Markov Models implemented using HMatrix data types and operations.
@@ -29,7 +29,7 @@
   * "Math.HiddenMarkovModel.Example.Circle"
   .
   An alternative package without foreign calls is @hmm@.
-Homepage:            http://code.haskell.org/~thielema/hmm-hmatrix
+Homepage:            http://hub.darcs.net/thielema/hmm-hmatrix
 License:             BSD3
 License-File:        LICENSE
 Author:              Henning Thielemann
@@ -39,13 +39,13 @@
 Cabal-Version:       >=1.10
 
 Source-Repository this
-  Tag:         0.0
+  Tag:         0.0.0.1
   Type:        darcs
-  Location:    http://code.haskell.org/~thielema/hmm-hmatrix
+  Location:    http://hub.darcs.net/thielema/hmm-hmatrix
 
 Source-Repository head
   Type:        darcs
-  Location:    http://code.haskell.org/~thielema/hmm-hmatrix
+  Location:    http://hub.darcs.net/thielema/hmm-hmatrix
 
 Library
   Exposed-Modules:
diff --git a/src/Math/HiddenMarkovModel/Private.hs b/src/Math/HiddenMarkovModel/Private.hs
--- a/src/Math/HiddenMarkovModel/Private.hs
+++ b/src/Math/HiddenMarkovModel/Private.hs
@@ -217,7 +217,7 @@
    (NC.Container Vector e, Num e) =>
    T distr t -> [Matrix e] -> Matrix e
 sumTransitions hmm =
-   foldl NC.add (NC.konst 0 $ LinAlg.size $ transition hmm)
+   List.foldl' NC.add (NC.konst 0 $ LinAlg.size $ transition hmm)
 
 {- |
 Baum-Welch algorithm
