Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_geometry.cpp

    r1614174 r3930eb  
    101101{
    102102  int Num = 0;
    103   atom *ptr = start->next;  // start at first in list
     103  atom *ptr = start;  // start at first in list
    104104
    105105  Center.Zero();
    106106
    107   if (ptr != end) {   //list not empty?
     107  if (ptr->next != end) {   //list not empty?
    108108    while (ptr->next != end) {  // continue with second if present
    109109      ptr = ptr->next;
Note: See TracChangeset for help on using the changeset viewer.