From 2fe262e9e59a0aa408e84f7cf4344db9d8fa28a9 Mon Sep 17 00:00:00 2001 From: Ned Coltman <edward.coltman@iws.uni-stuttgart.de> Date: Wed, 29 May 2019 15:23:10 +0200 Subject: [PATCH] [test][spline] add template argument --- test/common/spline/test_cubicspline.cc | 2 +- test/common/spline/test_monotonecubicspline.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/spline/test_cubicspline.cc b/test/common/spline/test_cubicspline.cc index ae35ab955b..d83e589cd7 100644 --- a/test/common/spline/test_cubicspline.cc +++ b/test/common/spline/test_cubicspline.cc @@ -67,7 +67,7 @@ int main(int argc, char** argv) const auto y = eval(f, samplePoints); // create the spline - Dumux::CubicSpline spline(samplePoints, y); + Dumux::CubicSpline<double> spline(samplePoints, y); // evaluate spline and derivative const auto result = eval([&](const double x) { return spline.eval(x); }, testPoints); diff --git a/test/common/spline/test_monotonecubicspline.cc b/test/common/spline/test_monotonecubicspline.cc index 50693457f9..3ce80a1de7 100644 --- a/test/common/spline/test_monotonecubicspline.cc +++ b/test/common/spline/test_monotonecubicspline.cc @@ -67,7 +67,7 @@ int main(int argc, char** argv) const auto y = eval(f, samplePoints); // create the spline - Dumux::MonotoneCubicSpline spline(samplePoints, y); + Dumux::MonotoneCubicSpline<double> spline(samplePoints, y); // evaluate spline and derivative const auto result = eval([&](const double x) { return spline.eval(x); }, testPoints); -- GitLab