Skip to content

Printing empty VarInfo #122

@phipsgabler

Description

@phipsgabler

Line

print(io, "), dimension ", sum(prod(size(md.vals[md.ranges[md.idcs[vn]]])) for vn in vns))
sums over the sizes of the varnames, which fails in case there are none. (You only notice this in very weird settings, but IRTracker is one of those.)

I'll replace the sum by reduce(+, ...; init=0) some time soon.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions