Skip to content

Commit

Permalink
fixup! Fixes and tweaks to Blowers Masel classes' fit_to_reactions me…
Browse files Browse the repository at this point in the history
…thods.
  • Loading branch information
rwest committed Jul 19, 2023
1 parent f2abd68 commit 2e8e226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmgpy/kinetics/arrhenius.pyx
Expand Up @@ -689,7 +689,7 @@ cdef class ArrheniusBM(KineticsModel):
# fill in parameters
A_units = ['', 's^-1', 'm^3/(mol*s)', 'm^6/(mol^2*s)']
order = len(rxns[0].reactants)
if order != 1 and rxn.is_surface_reaction:
if order != 1 and rxn.is_surface_reaction():
raise NotImplementedError("Units not implemented for surface reactions.")
self.A = (A, A_units[order])

Expand Down Expand Up @@ -1626,7 +1626,7 @@ cdef class ArrheniusChargeTransferBM(KineticsModel):
# fill in parameters
A_units = ['', 's^-1', 'm^3/(mol*s)', 'm^6/(mol^2*s)']
order = len(rxns[0].reactants)
if order != 1 and rxn.is_surface_reaction:
if order != 1 and rxn.is_surface_reaction():
raise NotImplementedError("Units not implemented for surface reactions")
self.A = (A, A_units[order])

Expand Down

0 comments on commit 2e8e226

Please sign in to comment.