networkx icon indicating copy to clipboard operation
networkx copied to clipboard

FIX: consistently ignore self loops in chordal graphs

Open MridulS opened this issue 1 year ago • 1 comments

In https://github.com/networkx/networkx/pull/6563 we decided to ignore self loops in chordal graphs but we weren't really testing for the implementation. The self_loop_G was both a chordal and not a chordal graph.

I've updated the test which checks that we ignore self loops which checking for chordality.

MridulS avatar Aug 21 '23 08:08 MridulS

@MridulS I think this one would benefit from your insight on what the desired behavior is re: the removed test!

rossbar avatar Jan 10 '24 18:01 rossbar