Skip to content

Commit 1e9de87

Browse files
committed
Fix printing of empty VarInfo
1 parent f74e039 commit 1e9de87

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
@@ -965,7 +965,7 @@ function _show_varnames(io::IO, vi)
965965
print(io, length(groups), length(groups) == 1 ? " variable " : " variables ", "(")
966966
join(io, Iterators.take(keys(groups), _MAX_VARS_SHOWN), ", ")
967967
length(groups) > _MAX_VARS_SHOWN && print(io, ", ...")
968-
print(io, "), dimension ", sum(prod(size(md.vals[md.ranges[md.idcs[vn]]])) for vn in vns))
968+
print(io, "), dimension ", length(md.vals))
969969
end
970970

971971
function Base.show(io::IO, vi::UntypedVarInfo)

0 commit comments

Comments
 (0)