Skip to content

Commit b458e6c

Browse files
committed
comment out WIP code for now
1 parent 1f9d99c commit b458e6c

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/thunks.jl

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
abstract type LogdensityComputation end
1+
# abstract type LogdensityComputation end
22

3-
struct LogpdfComputation end
3+
# struct LogpdfComputation end
44

5-
struct BasemeasureComputation{B} <: LogdensityComputation
6-
base::B
7-
end
5+
# struct BasemeasureComputation{B} <: LogdensityComputation
6+
# base::B
7+
# end
88

9-
struct LogdensityThunk{C,M,X,L}
10-
computation::C
11-
measure::M
12-
x::X
13-
::L
14-
end
9+
# struct LogdensityThunk{C,M,X,L}
10+
# computation::C
11+
# measure::M
12+
# x::X
13+
# ℓ::L
14+
# end
1515

16-
function reduce_step(thunk :: LogdensityThunk, callback=Returns(nothing))
16+
# function reduce_step(thunk :: LogdensityThunk, callback=Returns(nothing))
1717

1818

1919

20-
reduce_step(LogdensityThunk{M,B,X,L}, callback=Returns(nothing)) -> Union{LogdensityThunk, L}
20+
# reduce_step(LogdensityThunk{M,B,X,L}, callback=Returns(nothing)) -> Union{LogdensityThunk, L}
2121

22-
function logdensity(μ, b, x; cb=Returns(nothing))
23-
f(thunk) = reduce_step(thunk, cb)
24-
fix(f, LogdensityThunk(μ, b, x, zero(Float64)))
25-
end
22+
# function logdensity(μ, b, x; cb=Returns(nothing))
23+
# f(thunk) = reduce_step(thunk, cb)
24+
# fix(f, LogdensityThunk(μ, b, x, zero(Float64)))
25+
# end

0 commit comments

Comments
 (0)