Skip to content

Commit

Permalink
Merge pull request #623 from avcopan/dev
Browse files Browse the repository at this point in the history
Fix: Pressure dependence identification
  • Loading branch information
avcopan authored Feb 15, 2025
2 parents 2e85496 + 7eecdbe commit 94920d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autochem/rate/_02rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def third_body(self) -> str | None:
@property
def is_pressure_dependent(self) -> bool:
"""Whether the rate is pressure dependent."""
return isinstance(self.rate_constant, ArrheniusRateConstant)
return not isinstance(self.rate_constant, ArrheniusRateConstant)

def __call__(
self, t: ArrayLike, p: ArrayLike = 1, units: UnitsData | None = None
Expand Down

0 comments on commit 94920d0

Please sign in to comment.