Skip to content

Commit 787ca28

Browse files
#1319 Directional bonds not work with SMART
Fix typo
1 parent 402bdb6 commit 787ca28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/indigo-core/molecule/src/query_molecule.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,11 @@ QueryMolecule::Atom::~Atom()
868868
{
869869
}
870870

871-
QueryMolecule::Bond::Bond() : Node(OP_NONE)
871+
QueryMolecule::Bond::Bond() : Node(OP_NONE), value(0), direction(0)
872872
{
873873
}
874874

875-
QueryMolecule::Bond::Bond(int type_, int value_) : Node(type_), value(value_)
875+
QueryMolecule::Bond::Bond(int type_, int value_) : Node(type_), value(value_), direction(0)
876876
{
877877
}
878878

0 commit comments

Comments
 (0)