---
milena/ChangeLog | 4 ++++
milena/mln/registration/icp.hh | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 306ac9d..c5146c0 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,9 @@
2012-05-07 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * mln/registration/icp.hh: Add a missing initialization.
+
+2012-05-07 Guillaume Lazzara <z(a)lrde.epita.fr>
+
* mln/io/magick/save.hh: Add generic and fast implementations.
2012-05-07 Guillaume Lazzara <z(a)lrde.epita.fr>
diff --git a/milena/mln/registration/icp.hh b/milena/mln/registration/icp.hh
index 9448a2f..aa263f7 100644
--- a/milena/mln/registration/icp.hh
+++ b/milena/mln/registration/icp.hh
@@ -532,7 +532,7 @@ namespace mln
const vec3d_f& qT)
{
/// Spx: cross-covariance matrix.
- algebra::mat<3u,3u,float> Spx;
+ algebra::mat<3u,3u,float> Spx(literal::zero);
mln_piter(p_array<P>) p(P_);
// FIXME: could we use an accu?
--
1.7.2.5
Show replies by date