Commit 7645135f authored by Ludovic Courtès's avatar Ludovic Courtès

core: 'data::min' and 'data::max' return a reference.

parent ac523ab7
......@@ -97,11 +97,10 @@ class data
/* Maximum values of the data */
//! \brief Get the minimum value the input can take
// FIXME: Return a reference.
vec min() const { return _min; };
const vec& min() const { return _min; };
//! \brief Get the maximum value the input can take
vec max() const { return _max; };
const vec& max() const { return _max; };
protected: // data
......
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