fixed missing line in harmonic summing routine