[aGrUM] remove ambiguous and redondant Potential::fillWith

parent 49e20e53
......@@ -232,17 +232,6 @@ namespace gum {
const Potential<GUM_SCALAR>&
fillWith( const std::vector<GUM_SCALAR>& v ) const;
/**
* @brief Automatically fills this MultiDimContainer with the values in
* l.
*
* @param l contains the data.
* @throw SizeError Raised if l size's does not matches this
* MultiDimContainer domain size.
*/
const Potential<GUM_SCALAR>&
fillWith( std::initializer_list<GUM_SCALAR> l ) const;
/**
* @brief Automatically fills this MultiDimContainer with the value v
*
......
......@@ -232,14 +232,6 @@ namespace gum {
}
template <typename GUM_SCALAR>
INLINE const Potential<GUM_SCALAR>&
Potential<GUM_SCALAR>::fillWith( std::initializer_list<GUM_SCALAR> list ) const {
this->populate( list );
return *this;
}
template <typename GUM_SCALAR>
INLINE const Potential<GUM_SCALAR>&
Potential<GUM_SCALAR>::fillWith( const GUM_SCALAR& v ) const {
......
Markdown is supported
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