You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be my bug, but it kinda looks like creating graphs with custom equality/hash semantics can result in duplicates. For instance, from the bifurcan-clj test suite:
(testing"custom equality/hash"; Very weird: I'm not sure why we get duplicate vertices here. Bug in; bifurcan maybe?
(is (= {:x #{:y"y"}
:y #{:x"x"}}
(-> (g/graph #(hash (name %)) (fn [a b] (= (name a) (name b))))
(g/link:x:y)
(g/link"y""x")
datafy)))))
The text was updated successfully, but these errors were encountered:
This might be my bug, but it kinda looks like creating graphs with custom equality/hash semantics can result in duplicates. For instance, from the bifurcan-clj test suite:
The text was updated successfully, but these errors were encountered: