Skip to content

Commit 55af160

Browse files
authored
Get test_aoi_and_aoi_projection passing on numpy 1.22.0 (#1369)
* see if magic numpy env var to disable AVX512 gets tests passing again * loosen test tolerance; remove magic numpy env var
1 parent 1ab0eb2 commit 55af160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvlib/tests/test_irradiance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ def test_aoi_and_aoi_projection(surface_tilt, surface_azimuth, solar_zenith,
878878
aoi_proj_expected):
879879
aoi = irradiance.aoi(surface_tilt, surface_azimuth, solar_zenith,
880880
solar_azimuth)
881-
assert_allclose(aoi, aoi_expected, atol=1e-6)
881+
assert_allclose(aoi, aoi_expected, atol=1e-5)
882882

883883
aoi_projection = irradiance.aoi_projection(
884884
surface_tilt, surface_azimuth, solar_zenith, solar_azimuth)

0 commit comments

Comments
 (0)