Skip to content

Commit d594f4b

Browse files
Merge pull request #139 from baggepinnen/patch-1
Implement basic `Base.nameof` for interpolations
2 parents 6f170af + d6cf795 commit d594f4b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DataInterpolations"
22
uuid = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
3-
version = "3.12"
3+
version = "3.13"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

ext/DataInterpolationsSymbolicsExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ using DataInterpolations: AbstractInterpolation
44
using Symbolics: Num, unwrap, SymbolicUtils
55
(interp::AbstractInterpolation)(t::Num) = SymbolicUtils.term(interp, unwrap(t))
66
SymbolicUtils.promote_symtype(t::AbstractInterpolation, _...) = Real
7+
Base.nameof(interp::AbstractInterpolation) = :Interpolation
78

8-
end # module
9+
end # module

0 commit comments

Comments
 (0)