kylelutz / chemkit

A C++ library for molecular modelling, cheminformatics and molecular visualization.
http://www.chemkit.org
BSD 3-Clause "New" or "Revised" License
54 stars 26 forks source link

Check if there exists a Path+1 and invert odd/even ring #41

Open nezix opened 2 years ago

nezix commented 2 years ago

The if line 379 should check if there is a Path+1 with a size > 1. The odd and even ring was also inverted (based on the Supplementary Material algorithm of the RP-Path paper)

Warning: I didn't test or compiled the code !