Skip to content

Commit 92bb0ff

Browse files
Update DiffEqBaseUnitfulExt.jl
1 parent 2f8e2fd commit 92bb0ff

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

ext/DiffEqBaseUnitfulExt.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
module DiffEqBaseUnitfulExt
22

3-
using DiffEqBase
4-
import DiffEqBase: value
5-
using Unitful
6-
else
7-
using ..DiffEqBase
8-
import ..DiffEqBase: value
9-
using ..Unitful
10-
end
3+
using DiffEqBase
4+
import DiffEqBase: value
5+
using Unitful
6+
117
# Support adaptive errors should be errorless for exponentiation
128
value(x::Type{Unitful.AbstractQuantity{T, D, U}}) where {T, D, U} = T
139
value(x::Unitful.AbstractQuantity) = x.val

0 commit comments

Comments
 (0)