Skip to content

Commit caeba59

Browse files
committed
Cleanup
1 parent ada5855 commit caeba59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ht/radiation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def solar_spectrum(model='SOLAR-ISS'):
229229
>>> float(min(wavelengths)), float(max(wavelengths)), float(min(SSI)), float(max(SSI))
230230
(5e-10, 2.9999e-06, 1330.0, 2256817820.0)
231231
232-
Integration - calculate the solar constant, in untis of W/m^2 hitting
232+
Integration - calculate the solar constant, in units of W/m^2 hitting
233233
earth's atmosphere.
234234
235235
>>> from scipy.integrate import trapezoid

tests/test_numba.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ def test_hx_effectiveness_still_working():
398398
assert_close(ht.numba.temperature_effectiveness_air_cooler(.5, 2, rows=10, passes=10),
399399
ht.temperature_effectiveness_air_cooler(.5, 2, rows=10, passes=10))
400400

401-
assert_close(ht.numba.hx.Pp(5, .4), ht.hx.Pp(5, .4))
402-
assert_close(ht.numba.hx.Pc(5, .4), ht.hx.Pc(5, .4))
401+
assert_close(ht.numba.hx.P_NTU_Pp(5, .4), ht.hx.P_NTU_Pp(5, .4))
402+
assert_close(ht.numba.hx.P_NTU_Pc(5, .4), ht.hx.P_NTU_Pc(5, .4))
403403

404404

405405
# broken by numba in the 0.57 release

0 commit comments

Comments
 (0)