Fixed a bug in the conversion of files from cti to ctml format, having

to do with NASA9 polynomials.
Added a comma to the NASA9 floatArray block.
This commit is contained in:
Harry Moffat
2007-10-09 15:23:08 +00:00
parent a278779178
commit 5a4576a65e

View File

@@ -637,8 +637,8 @@ class NASA9(thermo):
for i in range(4):
str += '%17.9E, ' % self._coeffs[i]
str += '\n'
str += '%17.9E, %17.9E, %17.9E, %17.9E' % (self._coeffs[4], self._coeffs[5],
self._coeffs[6], self._coeffs[7])
str += '%17.9E, %17.9E, %17.9E, %17.9E,' % (self._coeffs[4], self._coeffs[5],
self._coeffs[6], self._coeffs[7])
str += '\n'
str += '%17.9E' % (self._coeffs[8])
u = n.addChild("floatArray", str)