pnnl / chgl

Chapel HyperGraph Library (CHGL) - HPC-class Hypergraphs in Chapel
https://pnnl.github.io/chgl/
MIT License
29 stars 8 forks source link

Investigate issue where obtaining intersection after sorting results in non-deterministic behavior #30

Closed LouisJenkinsCS closed 6 years ago

LouisJenkinsCS commented 6 years ago

For some reason, sorting both neighborList will result in undefined behavior and causes the Connected Components code to fail but without it and it works just fine. Weird.

LouisJenkinsCS commented 6 years ago

I believe this has been resolved and was an issue where I did not specify the >, < and == relation and so when sorting it would use the default implementation of such operators.