Version: 1.1.0
Release: 20060714
Package: org.openscience.cdk.charges
Class: GasteigerMarsiliPartialCharges
Method: public IAtomContainer assignGasteigerMarsiliSigmaPartialCharges(IAtomContainer ac, boolean setCharge)
Lines: 163 - 165
Error:
double[] q_old = new double[ac.getAtomCount()];
for(int i = 0 ; i < q_old.length ; i++)
q_old[0] = 20.0;
q_old is only ever assigned at index 0.
Certainly looks like an error, but chainging the index to i, doesn't seem to make any difference to the results of the tests
Miguel, please have a look it this.