Skip to content
Snippets Groups Projects
Commit 23c0ca9a authored by BIOPZ-Johner Niklaus's avatar BIOPZ-Johner Niklaus
Browse files

Fixed identity operator for compounds.

parent 22b056f9
Branches
Tags
No related merge requests found
......@@ -100,7 +100,7 @@ struct DLLEXPORT_OST_CONOP AtomSpec {
bool operator==(const AtomSpec& rhs) const {
return ordinal==rhs.ordinal && name==rhs.name && alt_name==rhs.alt_name &&
element==rhs.element && is_leaving==rhs.is_leaving &&
rhs.is_aromatic==rhs.is_aromatic && charge==rhs.charge;
is_aromatic==rhs.is_aromatic && charge==rhs.charge;
}
bool operator!=(const AtomSpec& rhs) const {
return !this->operator==(rhs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment