Skip to content

Commit 5a268e0

Browse files
committed
add extensions
1 parent e0efaa1 commit 5a268e0

File tree

6 files changed

+657
-0
lines changed

6 files changed

+657
-0
lines changed

ext/SciMLBaseDistributionsExt.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module SciMLBaseDistributionsExt
2+
3+
using Distributions, SciMLBase
4+
5+
SciMLBase.handle_distribution_u0(_u0::Distributions.Sampleable) = rand(_u0)
6+
SciMLBase.isdistribution(_u0::Distributions.Sampleable) = true
7+
8+
end

0 commit comments

Comments
 (0)