Closed RMeli closed 6 years ago
The predecessor and distance matrices should only contain integers. The use of double-precision matrices to store integer can mess up with operator== in irc::connectivity::bonds, irc::connectivity::angles and irc::connectivity::dihedrals.
operator==
irc::connectivity::bonds
irc::connectivity::angles
irc::connectivity::dihedrals
This has been fixed in the tests, but remains a problem in class IRC. Using an additional template arguments would be too annoying?
class IRC
Solved by using boost::math::iround.
boost::math::iround
The predecessor and distance matrices should only contain integers. The use of double-precision matrices to store integer can mess up with
operator==
inirc::connectivity::bonds
,irc::connectivity::angles
andirc::connectivity::dihedrals
.