Skip to content
Snippets Groups Projects
Commit 84f54113 authored by Timo Koch's avatar Timo Koch
Browse files

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

parent be6a03bf
No related branches found
No related tags found
1 merge request!2250[common] Add inverse of monotone cubic spline
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment