Skip to content

Commit

Permalink
fix(leed): Set zero_array to True if array is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Sep 30, 2024
1 parent 52267d2 commit bb68d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_radiance_postprocess/leed/leed.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def leed_option_one(
arrays_blinds_down = [base_zero_array.copy()]
# combine total array for all light paths
if use_states:
array = results._array_from_states(grid_info, states=states_schedule)
array = results._array_from_states(grid_info, states=states_schedule, zero_array=True)
array = np.apply_along_axis(filter_array, 1, array, occ_mask)

for light_path in light_paths:
Expand Down

0 comments on commit bb68d92

Please sign in to comment.