Commit ac523ab7 authored by Ludovic Courtès's avatar Ludovic Courtès

core: Remove 'data::setMin' and 'data::setMax'.

This is a followup to 07e8f807.
parent 2c8fbead
......@@ -57,18 +57,3 @@ bool data::equals(const data& data, double epsilon)
return true;
}
void data::setMin(const vec& min)
{
#ifdef DEBUG
assert(min.size() == _nX) ;
#endif
_min = min ;
}
void data::setMax(const vec& max)
{
#ifdef DEBUG
assert(max.size() == _nX) ;
#endif
_max = max ;
}
......@@ -96,12 +96,6 @@ class data
/* Maximum values of the data */
//! \brief Set the minimum value the input can take
void setMin(const vec& min) ;
//! \brief Set the maximum value the input can take
void setMax(const vec& max) ;
//! \brief Get the minimum value the input can take
// FIXME: Return a reference.
vec min() const { return _min; };
......
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