From fd758d2a8fc345480b6900a046dad2272fa9b552 Mon Sep 17 00:00:00 2001 From: Aurelio Amerio Date: Mon, 11 Mar 2024 16:34:27 -0500 Subject: [PATCH] version update with minor maintainance --- Project.toml | 6 +++--- src/FunctionTabulations.jl | 2 +- src/helpers_1D.jl | 2 +- src/helpers_2D.jl | 2 +- src/helpers_3D.jl | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index e013394..d16bf9c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "FunctionTabulations" uuid = "5f4392ac-266a-47fe-a3f9-ac8379aae758" authors = ["Aurelio Amerio "] -version = "0.2.1" +version = "0.2.2" [deps] CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193" @@ -13,11 +13,11 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" [compat] CodecZlib = "0.7" -Interpolations = "^0.14.5" +Interpolations = "^0.15" JLD2 = "0.4" ProgressMeter = "1" Unitful = "1" -julia = "^1.7" +julia = "^1.9" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/src/FunctionTabulations.jl b/src/FunctionTabulations.jl index 6c42050..a4d65db 100644 --- a/src/FunctionTabulations.jl +++ b/src/FunctionTabulations.jl @@ -1,7 +1,7 @@ module FunctionTabulations using Interpolations -using JLD2 using CodecZlib +using JLD2 using ProgressMeter using Unitful using Unitful: FreeUnits diff --git a/src/helpers_1D.jl b/src/helpers_1D.jl index 4310318..8783120 100644 --- a/src/helpers_1D.jl +++ b/src/helpers_1D.jl @@ -55,7 +55,7 @@ function _get_interp_fn_1D(x, data_matrix, x_scale, f_scale, x_units, f_units, i if interpolation_type == :linear itp = linear_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) elseif interpolation_type == :cubic - itp = CubicSplineInterpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) + itp = cubic_spline_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) else throw(ArgumentError("$interpolation_type is not a valid interpolation type")) end diff --git a/src/helpers_2D.jl b/src/helpers_2D.jl index b5ab024..7256e39 100644 --- a/src/helpers_2D.jl +++ b/src/helpers_2D.jl @@ -60,7 +60,7 @@ function _get_interp_fn_2D(x, y, data_matrix, x_scale, y_scale, f_scale, x_units if interpolation_type == :linear itp = linear_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) elseif interpolation_type == :cubic - itp = CubicSplineInterpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) + itp = cubic_spline_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) else throw(ArgumentError("$interpolation_type is not a valid interpolation type")) end diff --git a/src/helpers_3D.jl b/src/helpers_3D.jl index 1acf79c..b13ac02 100644 --- a/src/helpers_3D.jl +++ b/src/helpers_3D.jl @@ -66,7 +66,7 @@ function _get_interp_fn_3D(x, y, z, data_matrix, x_scale, y_scale, z_scale, f_sc if interpolation_type == :linear itp = linear_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) elseif interpolation_type == :cubic - itp = CubicSplineInterpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) + itp = cubic_spline_interpolation(knots, f_matrix, extrapolation_bc=extrapolation_bc()) else throw(ArgumentError("$interpolation_type is not a valid interpolation type")) end