Open alexanderkoller opened 4 years ago
I have temporarily changed SupertagWithType#equals to catch this exception, but it would be good to change that back once the root cause has been fixed.
I reproduced this with the first graph pair and added a test (testIso7 in SGraphTest, currently not in the active tests since it is still failing). I don't know what's happening here, upgrading to the newest JGraphT version may be best, although that will require quite some refactoring (the JGraphT interface changed). Let's look into it at a later point, for now I think we can treat the graphs as not equal.
Equals comparison of certain s-graphs generates the following exception. @jgroschwitz Is this code that you understand? Could this be fixed by upgrading to a more recent version of jgrapht?
Here are the graph comparisons which trigger this: