File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -817,13 +817,11 @@ def check_equivalent_falloff(fall1, fall2):
817817 if isinstance (ct_rxn1 , ct .Reaction ):
818818 # may not mean it is arrhenius, need to check if it is troe,
819819 if isinstance (ct_rxn1 .rate , ct .ArrheniusRate ):
820- assert ct_rxn1 .allow_negative_pre_exponential_factor == ct_rxn2 .allow_negative_pre_exponential_factor , \
821- "Same allow_negative_pre_exponential_factor attribute"
822820 if ct_rxn1 .rate or ct_rxn2 .rate :
823821 check_equivalent_arrhenius (ct_rxn1 .rate , ct_rxn2 .rate )
824822 elif isinstance (ct_rxn1 .rate , ct .PlogRate ):
825823 if ct_rxn1 .rate .rates or ct_rxn2 .rate .rates :
826- assert len (ct_rxn1 .rates ) == len (ct_rxn2 .rates ), "Same number of rates in PLOG reaction"
824+ assert len (ct_rxn1 .rate . rates ) == len (ct_rxn2 . rate .rates ), "Same number of rates in PLOG reaction"
827825
828826 for i in range (len (ct_rxn1 .rate .rates )):
829827 P1 , arr1 = ct_rxn1 .rate .rates [i ]
You can’t perform that action at this time.
0 commit comments