Skip to content

Commit b35e764

Browse files
committed
np.bool is deprecated, bool
1 parent 36ac90c commit b35e764

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/rmgpy/kinetics/kineticsSurfaceTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ def test_is_temperature_valid(self):
594594
Test the SurfaceChargeTransfer.is_temperature_valid() method.
595595
"""
596596
T_data = np.array([200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 4000])
597-
valid_data = np.array([False, True, True, True, True, True, True, True, True, False], np.bool)
597+
valid_data = np.array([False, True, True, True, True, True, True, True, True, False], bool)
598598
for T, valid in zip(T_data, valid_data):
599599
valid0 = self.surfchargerxn_reduction.is_temperature_valid(T)
600600
assert valid0 == valid

0 commit comments

Comments
 (0)