Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Dec 7, 2024
1 parent ada5855 commit caeba59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ht/radiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def solar_spectrum(model='SOLAR-ISS'):
>>> float(min(wavelengths)), float(max(wavelengths)), float(min(SSI)), float(max(SSI))
(5e-10, 2.9999e-06, 1330.0, 2256817820.0)
Integration - calculate the solar constant, in untis of W/m^2 hitting
Integration - calculate the solar constant, in units of W/m^2 hitting
earth's atmosphere.
>>> from scipy.integrate import trapezoid
Expand Down
4 changes: 2 additions & 2 deletions tests/test_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ def test_hx_effectiveness_still_working():
assert_close(ht.numba.temperature_effectiveness_air_cooler(.5, 2, rows=10, passes=10),
ht.temperature_effectiveness_air_cooler(.5, 2, rows=10, passes=10))

assert_close(ht.numba.hx.Pp(5, .4), ht.hx.Pp(5, .4))
assert_close(ht.numba.hx.Pc(5, .4), ht.hx.Pc(5, .4))
assert_close(ht.numba.hx.P_NTU_Pp(5, .4), ht.hx.P_NTU_Pp(5, .4))
assert_close(ht.numba.hx.P_NTU_Pc(5, .4), ht.hx.P_NTU_Pc(5, .4))


# broken by numba in the 0.57 release
Expand Down

0 comments on commit caeba59

Please sign in to comment.