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
according to docs, the function RWMol::addBond should return the index of a newly added bond.
In the function, the index of a new bond is set as follows:
unsigned int res = boost::num_edges(d_graph);
b->setIdx(res-1);
but then the function returns just "res", instead of "res-1". Bug, right?
Best,
Juuso Lehtivarjo
The text was updated successfully, but these errors were encountered:
Hi,
according to docs, the function RWMol::addBond should return the index of a newly added bond.
In the function, the index of a new bond is set as follows:
unsigned int res = boost::num_edges(d_graph);
b->setIdx(res-1);
but then the function returns just "res", instead of "res-1". Bug, right?
Best,
Juuso Lehtivarjo
The text was updated successfully, but these errors were encountered: