-
Notifications
You must be signed in to change notification settings - Fork 46
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
Digraphs uses NEW_PLIST_WITH_MUTABILITY which is not present in GAP 4.9.0 #266
Comments
Thanks for noticing this @james-d-mitchell. I'm curious why this isn't actually causing any of our tests to fail. (We test the required version of GAP, currently 4.9.0, in one Travis job, e.g. https://travis-ci.org/gap-packages/Digraphs/jobs/598715505). Do you think that means we have no coverage of these lines? Or is something else going on? |
Yeah I noticed this too, it must mean that those lines of code aren't tested, or they are and something more complicated is going on... |
I think this code is never executed. I thought I could trigger the relevant code by creating a digraph via source and range, and then asking for the out-neighbours. When I create such a digraph, it claims not to know its out-neighbours, but in fact they are already known and stored in its
This is because digraphs are ultimately (as far as I can tell) created via the following code, which directly constructs the out-neighbours from the source-and range using the separate function
I think this means that anything that is a digraph object already necessarily knows its That explains why this use of |
Apparently, in v1.0.1, if I try to compile Digraphs with GAP v4.9.0 and I get the following warnings:
And indeed
NEW_PLIST_WITH_MUTABILITY
does not exist in GAP v4.9.0. This should be easy to fix.The text was updated successfully, but these errors were encountered: