Commit fcf3c159 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

mln/accu/stat/deviation.hh: Set first template parameter of accu::stat:sum to mln_sum(T).

parent d6c1dbb9
2010-08-26 Guillaume Lazzara <z@lrde.epita.fr>
* mln/accu/stat/deviation.hh: Set first template parameter of
accu::stat:sum to mln_sum(T).
2010-08-26 Guillaume Lazzara <z@lrde.epita.fr>
 
* mln/labeling/compute.hh: Add a missing overload in dispatch.
// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -84,7 +84,11 @@ namespace mln
protected:
accu::math::count<T> count_;
accu::math::sum<T,S> sum_;
// NOTE: accu::math::sum takes mln_sum(T) as first template
// parameter since in the core of the deviation::take method,
// this accumulator takes data of type mln_sum(T).
accu::math::sum<mln_sum(T),S> sum_;
T mean_;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment