From: <bao...@us...> - 2006-05-17 16:22:22
|
Revision: 121 Author: baoilleach Date: 2006-05-17 09:22:09 -0700 (Wed, 17 May 2006) ViewCVS: http://svn.sourceforge.net/cclib/?rev=121&view=rev Log Message: ----------- Fixed bug when creating the Numeric array for atomnos. Modified Paths: -------------- trunk/src/cclib/parser/g03parser.py Modified: trunk/src/cclib/parser/g03parser.py =================================================================== --- trunk/src/cclib/parser/g03parser.py 2006-05-16 18:21:53 UTC (rev 120) +++ trunk/src/cclib/parser/g03parser.py 2006-05-17 16:22:09 UTC (rev 121) @@ -121,7 +121,7 @@ line = inputfile.next() self.atomcoords.append(atomcoords) if not hasattr(self,"natom"): - self.atomnos = Numeric.array(atomnos,'f') + self.atomnos = Numeric.array(atomnos,'i') self.logger.info("Creating attribute atomnos[]") self.natom = len(self.atomnos) self.logger.info("Creating attribute natom: %d" % self.natom) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |