Skip to content

Commit f12b407

Browse files
committed
Remove dead code
1 parent 2c3563c commit f12b407

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

docs/src/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,8 +519,8 @@ InitFromParams
519519
If you wish to write your own, you have to subtype [`DynamicPPL.AbstractInitStrategy`](@ref) and implement the `init` method.
520520

521521
```@docs
522-
DynamicPPL.AbstractInitStrategy
523-
DynamicPPL.init
522+
AbstractInitStrategy
523+
init
524524
```
525525

526526
### Choosing a suitable VarInfo

src/contexts/init.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ Any subtype of `AbstractInitStrategy` must implement the
99
"""
1010
abstract type AbstractInitStrategy end
1111

12-
"""
13-
InitValue{T,F}
14-
15-
"""
16-
struct InitValue{T,F}
17-
value::T
18-
transform::F
19-
end
20-
2112
"""
2213
init(rng::Random.AbstractRNG, vn::VarName, dist::Distribution, strategy::AbstractInitStrategy)
2314

0 commit comments

Comments
 (0)