Skip to content

Commit

Permalink
Fix: Pressure dependence identification
Browse files Browse the repository at this point in the history
  • Loading branch information
avcopan committed Feb 15, 2025
1 parent 2e85496 commit 7eecdbe
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 7eecdbe

Please sign in to comment.