Skip to content

Commit 0b45b42

Browse files
Merge pull request #55 from ven-k/vkb/symbolics
fix: update Symbolics to 7
2 parents 84a7a33 + fb83289 commit 0b45b42

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
1010
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
1111

1212
[weakdeps]
13+
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"
1314
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
1415

1516
[extensions]
16-
DataInterpolationsNDSymbolicsExt = "Symbolics"
17+
DataInterpolationsNDSymbolicsExt = ["SymbolicUtils", "Symbolics"]
1718

1819
[compat]
1920
Adapt = "4.3.0"
@@ -25,7 +26,8 @@ PrecompileTools = "1.0"
2526
Random = "1"
2627
RecipesBase = "1.3.4"
2728
SafeTestsets = "0.1"
28-
Symbolics = "6.57"
29+
SymbolicUtils = "4"
30+
Symbolics = "7"
2931
Test = "1"
3032
julia = "1"
3133

ext/DataInterpolationsNDSymbolicsExt.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module DataInterpolationsNDSymbolicsExt
33
import DataInterpolationsND
44
using DataInterpolationsND: NDInterpolation
55
using Symbolics
6-
using Symbolics: Num, unwrap, SymbolicUtils, Symbolic
6+
using Symbolics: Num, unwrap
7+
import SymbolicUtils
78

89
struct DifferentiatedNDInterpolation{N_in, N_out, I <: NDInterpolation{N_in, N_out}}
910
interp::I
@@ -17,7 +18,7 @@ end
1718
Base.nameof(::NDInterpolation) = :NDInterpolation
1819
Base.nameof(::DifferentiatedNDInterpolation) = :DifferentiatedNDInterpolation
1920

20-
for symT in [Num, Symbolic{<:Real}]
21+
for symT in [Num, SymbolicUtils.BasicSymbolic{<:Real}]
2122
@eval function (interp::NDInterpolation{N_in, N_out})(
2223
t::Vararg{
2324
$symT, N_in,

0 commit comments

Comments
 (0)