Skip to content

Commit 080ed85

Browse files
Update ext/DiffEqBaseDistributionsExt.jl
1 parent 71e4138 commit 080ed85

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ext/DiffEqBaseDistributionsExt.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
module DiffEqBaseDistributionsExt
22

3-
if isdefined(Base, :get_extension)
4-
using Distributions
5-
using DiffEqBase
6-
else
7-
using ..Distributions
8-
using ..DiffEqBase
9-
end
3+
using Distributions, DiffEqBase
104

115
DiffEqBase.handle_distribution_u0(_u0::Distributions.Sampleable) = rand(_u0)
126
DiffEqBase.isdistribution(_u0::Distributions.Sampleable) = true

0 commit comments

Comments
 (0)