-
Notifications
You must be signed in to change notification settings - Fork 8
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
@acset
silently ignores nonexistent names
#55
Comments
@acset
silently ignores nonexistent names
Also, MWE g₁ = @acset WeightedGraph{Float64} begin V = 2; E = 3; src = [1,1,1]; tgt = [2,2,2] end
g₂ = @migrate WeightedGraph{Float64} g₁ begin
V => V
E => E
src => src
tgt => tgt
Weight => Weight
weight => weight
end |
Ohh, it took me a while to understand the problem because I was reading target as tgt. Yeah we should check that all the names exist in the initializer. How urgently do we want to work on this? |
For me personally it is not as urgent as some of the other issues, but if they don't introduce any unforeseen consequences, I think these kinds of checks would be good for robustness/guarding against user errors. |
Closed with #110 |
MWE
The text was updated successfully, but these errors were encountered: