Skip to content

Commit 79c3a81

Browse files
committed
Fix bug in isempty(::TypedVarInfo)
1 parent 775284d commit 79c3a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ isempty(vi::VarInfo) = _isempty(vi.metadata)
11131113
_isempty(metadata::Metadata) = isempty(metadata.idcs)
11141114
_isempty(vnv::VarNamedVector) = isempty(vnv)
11151115
@generated function _isempty(metadata::NamedTuple{names}) where {names}
1116-
return Expr(:&&, (:(isempty(metadata.$f)) for f in names)...)
1116+
return Expr(:&&, (:(_isempty(metadata.$f)) for f in names)...)
11171117
end
11181118

11191119
# X -> R for all variables associated with given sampler

0 commit comments

Comments
 (0)