Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to @map #278

Closed
dfcaporale opened this issue Jul 14, 2020 · 2 comments
Closed

Add method to @map #278

dfcaporale opened this issue Jul 14, 2020 · 2 comments

Comments

@dfcaporale
Copy link
Member

guard = HalfSpace(sparsevec([1], [-1.], 5), 100.)
t1 = @map(x -> x, dim: 5, x ∈ guard)

MethodError: no method matching @Map(::LineNumberNode, ::Module, ::Expr, ::Expr, ::Expr)
Closest candidates are:
@Map(::LineNumberNode, ::Module, ::Any, ::Any) at C:\Users\danie.julia\dev\MathematicalSystems\src\macros.jl:59
@Map(::LineNumberNode, ::Module, ::Any) at C:\Users\danie.julia\dev\MathematicalSystems\src\macros.jl:76

@mforets
Copy link
Member

mforets commented Jul 14, 2020

thanks for the report. this issue is particular to MathematicalSystems.jl.
however, i can't reprduce it, i think we solved this in the latest patch release of MathematicalSystems (https://github.com/JuliaReach/MathematicalSystems.jl/releases/tag/v0.11.4). can you try

] up MathematicalSystems

?

@dfcaporale
Copy link
Member Author

Great! It worked once I removed the old package and re-installed MathematicalSystems. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants