Skip to content

Commit

Permalink
Merge pull request #241 from lassepe/fix/wrap
Browse files Browse the repository at this point in the history
Add missing Symbolics.wrap
  • Loading branch information
ChrisRackauckas authored Apr 19, 2024
2 parents 36f9dc0 + f7a8c11 commit 49cbf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/DataInterpolationsSymbolicsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SymbolicUtils.promote_symtype(t::AbstractInterpolation, _...) = Real
Base.nameof(interp::AbstractInterpolation) = :Interpolation

function derivative(interp::AbstractInterpolation, t::Num)
SymbolicUtils.term(derivative, interp, unwrap(t))
Symbolics.wrap(SymbolicUtils.term(derivative, interp, unwrap(t)))
end
SymbolicUtils.promote_symtype(::typeof(derivative), _...) = Real

Expand Down

0 comments on commit 49cbf4e

Please sign in to comment.