Skip to content

Commit 20c8340

Browse files
authored
constants: redefine room temperature to be 25C instead of 25.01C (#1646)
1 parent fcdf165 commit 20c8340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PySDM/physics/constants_defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
p_STP = 101325 * si.pascal
296296
""" ... and pressure """
297297

298-
ROOM_TEMP = T_tri + 25 * si.K
298+
ROOM_TEMP = T0 + 25 * si.K
299299
""" room temperature """
300300

301301
dT_u = si.K

tests/unit_tests/backends/test_oxidation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,5 @@ def test_oxidation(conc, dt):
181181
np.testing.assert_allclose(
182182
actual=moles[k].data / volume - conc["input"][k],
183183
desired=conc["output"][k] * dt,
184-
rtol=1e-11,
184+
rtol=1e-10,
185185
)

0 commit comments

Comments
 (0)