Skip to content

Commit b44f768

Browse files
committed
Remove todo comment
1 parent 0b5ef17 commit b44f768

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/fasteval.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,6 @@ function (f::FastLogDensityAt)(params::AbstractVector{<:Real})
372372
# which is unnecessary. So we shortcircuit this by simply calling `_evaluate!!`
373373
# directly. To preserve thread-safety we need to reproduce the ThreadSafeVarInfo logic
374374
# here.
375-
# TODO(penelopeysm): This should _not_ check Threads.nthreads(). I still don't know what
376-
# it _should_ do, but this is wrong regardless.
377-
# https://github.com/TuringLang/DynamicPPL.jl/issues/1086
378375
vi = if DynamicPPL.USE_THREADSAFE_EVAL[]
379376
accs = map(
380377
acc -> DynamicPPL.convert_eltype(float_type_with_fallback(eltype(params)), acc),

0 commit comments

Comments
 (0)