We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 012cf8a commit 418c4e3Copy full SHA for 418c4e3
src/samplers.jl
@@ -2,6 +2,16 @@ using Random
2
3
abstract type AbstractSampler end
4
5
+#####
6
+# DummySampler
7
8
+
9
+export DummySampler
10
11
+struct DummySampler end
12
13
+sample(s::DummySampler, t::AbstractTraces) = t
14
15
#####
16
# BatchSampler
17
src/trajectory.jl
@@ -22,7 +22,7 @@ Supported methoes are:
22
"""
23
Base.@kwdef struct Trajectory{C,S,T}
24
container::C
25
- sampler::S
+ sampler::S = DummySampler()
26
controller::T = InsertSampleRatioController()
27
transformer::Any = identity
28
0 commit comments