diff --git a/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs b/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs index d5cedabc..04624134 100644 --- a/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs +++ b/src/Managed.UnitTests/InterpolationTests/InterpolationTest.cs @@ -40,7 +40,7 @@ namespace MathNet.Numerics.UnitTests.InterpolationTests [VerifyContract] public readonly IContract LinearSplineTests = new InterpolationContract() { - Factory = Interpolation.CreateLinearSpline, + Factory = Interpolation.CreateLinearBetweenPoints, Order = new[] { 2, 3, 6 } }; diff --git a/src/Managed/Interpolation/Interpolation.cs b/src/Managed/Interpolation/Interpolation.cs index 424822c6..8123f2dc 100644 --- a/src/Managed/Interpolation/Interpolation.cs +++ b/src/Managed/Interpolation/Interpolation.cs @@ -64,7 +64,7 @@ namespace MathNet.Numerics.Interpolation /// which can then be used to compute interpolations and extrapolations /// on arbitrary points. /// - public static IInterpolation CreateLinearSpline( + public static IInterpolation CreateLinearBetweenPoints( IList points, IList values) {