Skip to content

Commit 7800f13

Browse files
committed
inline evaluate!!
1 parent 7e1e004 commit 7800f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ If multiple threads are available, the varinfo provided will be wrapped in a
865865
Returns a tuple of the model's return value, plus the updated `varinfo`
866866
(unwrapped if necessary).
867867
"""
868-
function AbstractPPL.evaluate!!(model::Model, varinfo::AbstractVarInfo)
868+
@inline function AbstractPPL.evaluate!!(model::Model, varinfo::AbstractVarInfo)
869869
return if use_threadsafe_eval(model.context, varinfo)
870870
evaluate_threadsafe!!(model, varinfo)
871871
else

0 commit comments

Comments
 (0)