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

mln/accu/stat/median_h.hh: Add missing operator=().

parent af0fa024
2011-04-05 Guillaume Lazzara <z@lrde.epita.fr>
* mln/accu/stat/median_h.hh: Add missing operator=().
2011-03-15 Guillaume Lazzara <z@lrde.epita.fr>
 
Regen generated files.
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2011 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -83,6 +84,7 @@ namespace mln
typedef V argument;
median_h();
median_h& operator=(const median_h& rhs);
/// Manipulators.
/// \{
......@@ -131,6 +133,21 @@ namespace mln
init();
}
template <typename V>
inline
median_h<V>&
median_h<V>::operator=(const median_h<V>& rhs)
{
h_ = rhs.h_;
sum_minus_ = rhs.sum_minus_;
sum_plus_ = rhs.sum_plus_;
valid_ = rhs.valid_;
i_ = rhs.i_;
t_ = rhs.t_;
return *this;
}
template <typename V>
inline
void
......
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