From 84f541135251b17da0f368ac17cce8379a692c7e Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 24 Sep 2020 23:15:09 +0200 Subject: [PATCH] [common][monotonespline] Fix argument to be const& --- dumux/common/monotonecubicspline.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/common/monotonecubicspline.hh b/dumux/common/monotonecubicspline.hh index 0af5c0ad43..dc3ae15bda 100644 --- a/dumux/common/monotonecubicspline.hh +++ b/dumux/common/monotonecubicspline.hh @@ -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()); -- GitLab