Skip to content

Commit

Permalink
version update with minor maintainance
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelio-amerio committed Mar 11, 2024
1 parent 30f48fc commit fd758d2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FunctionTabulations"
uuid = "5f4392ac-266a-47fe-a3f9-ac8379aae758"
authors = ["Aurelio Amerio <[email protected]>"]
version = "0.2.1"
version = "0.2.2"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/FunctionTabulations.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module FunctionTabulations
using Interpolations
using JLD2
using CodecZlib
using JLD2
using ProgressMeter
using Unitful
using Unitful: FreeUnits
Expand Down
2 changes: 1 addition & 1 deletion src/helpers_1D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/helpers_2D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/helpers_3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd758d2

Please sign in to comment.