Commit 84f54113 authored by Timo Koch's avatar Timo Koch
Browse files

[common][monotonespline] Fix argument to be const&

parent be6a03bf
......@@ -62,7 +62,7 @@ public:
* \param x a vector of x-coordinates
* \param y a vector of y-coordinates
*/
MonotoneCubicSpline(const std::vector<Scalar>& x, const std::vector<Scalar> y)
MonotoneCubicSpline(const std::vector<Scalar>& x, const std::vector<Scalar>& y)
{
// check some requirements
assert (x.size() == y.size());
......
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