MathematicalSystems.jl icon indicating copy to clipboard operation
MathematicalSystems.jl copied to clipboard

Extend map macro to constrained maps

Open schillic opened this issue 4 years ago • 1 comments

@map can only read unconstrained maps so far. But we can read constraints in @system. It should be rather easy to share that code (I hope).

schillic avatar Mar 07 '20 08:03 schillic

This is also a source of bugs, e.g. in the following code, the struct is built, but the guard is ignored (!):

julia> guard_1 = Universe(3);

julia> t1 = @map(h -> h, dim: 3, h ∈ guard_1)
IdentityMap(3)

mforets avatar Aug 31 '21 19:08 mforets