Skip to content

Commit

Permalink
np.bool is deprecated, bool
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Dec 3, 2024
1 parent 36ac90c commit b35e764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rmgpy/kinetics/kineticsSurfaceTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def test_is_temperature_valid(self):
Test the SurfaceChargeTransfer.is_temperature_valid() method.
"""
T_data = np.array([200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 4000])
valid_data = np.array([False, True, True, True, True, True, True, True, True, False], np.bool)
valid_data = np.array([False, True, True, True, True, True, True, True, True, False], bool)
for T, valid in zip(T_data, valid_data):
valid0 = self.surfchargerxn_reduction.is_temperature_valid(T)
assert valid0 == valid
Expand Down

0 comments on commit b35e764

Please sign in to comment.