mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user