Changeset 6e250f for molecuilder/src/molecule_graph.cpp
- Timestamp:
- Oct 18, 2009, 4:35:25 PM (16 years ago)
- Children:
- 312ba2
- Parents:
- f444ce
- File:
-
- 1 edited
-
molecuilder/src/molecule_graph.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule_graph.cpp
rf444ce r6e250f 387 387 388 388 ResetAllBondsToUnused(); 389 ResetAllAtomNumbers();389 SetAtomValueToValue( -1, &atom::GraphNr ); 390 390 ActOnAllAtoms( &atom::InitComponentNr ); 391 391 BackEdgeStack->ClearStack(); … … 804 804 Binder = Binder->next; 805 805 Binder->ResetUsed(); 806 }807 };808 809 /** Resets atom::nr to -1 of all atoms in this molecule.810 */811 void molecule::ResetAllAtomNumbers()812 {813 atom *Walker = start;814 while (Walker->next != end) {815 Walker = Walker->next;816 Walker->GraphNr = -1;817 806 } 818 807 };
Note:
See TracChangeset
for help on using the changeset viewer.
