Open hexaeder opened 4 months ago
Instead of changing from map
to broadcast
, it would also be fine to check the sizes explicitly
if size(ms.setters) != size(val)
throw(DimensionMismatch("Cannot set variables of size $(size(ms.setters)) to values of size $(size(val))."))
end
My point about the bug is the silent dropping of setters/values rather than the missing broadcast behavior.
Checklist
Additional context
fixes #82
Technically breaking? But I personally would consider the old behaviour a bug.