From 197c69a4762139bbe11f6e01dc2f71e2217f74c6 Mon Sep 17 00:00:00 2001 From: Ingmar Schoegl Date: Sat, 9 Nov 2019 19:16:08 -0600 Subject: [PATCH] [YAML] preserve zero in Troe T2 input --- interfaces/cython/cantera/ck2yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/cython/cantera/ck2yaml.py b/interfaces/cython/cantera/ck2yaml.py index bac007634..01c7c395c 100644 --- a/interfaces/cython/cantera/ck2yaml.py +++ b/interfaces/cython/cantera/ck2yaml.py @@ -620,7 +620,7 @@ class Troe: def reduce(self, output): troe = FlowMap([('A', self.A), ('T3', self.T3), ('T1', self.T1)]) - if self.T2: + if self.T2 is not None: troe['T2'] = self.T2 output['Troe'] = troe