Skip to content

Commit 6d200ff

Browse files
authored
One more more fix
1 parent 5c7c1e8 commit 6d200ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pvlib/tracking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def singleaxis(apparent_zenith, solar_azimuth,
131131
solar_azimuth = np.atleast_1d(solar_azimuth)
132132
apparent_zenith = np.atleast_1d(apparent_zenith)
133133

134-
if solar_azimuth.ndim > 1 or solar_zenith.ndim > 1:
134+
if solar_azimuth.ndim > 1 or apparent_zenith.ndim > 1:
135135
raise ValueError('Input dimensions must not exceed 1')
136136

137137
# The ideal tracking angle, omega_ideal, is the rotation to place the sun

0 commit comments

Comments
 (0)