Skip to content

Commit

Permalink
Remove extra dimension in indexing hub_heights. (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
misi9170 authored Apr 24, 2024
1 parent 0ec8220 commit 95f33d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floris/core/farm.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def coordinates(self):
np.array([x, y, z]) for x, y, z in zip(
self.layout_x,
self.layout_y,
self.hub_heights if len(self.hub_heights.shape) == 1 else self.hub_heights[0,0]
self.hub_heights if len(self.hub_heights.shape) == 1 else self.hub_heights[0]
)
])

Expand Down

0 comments on commit 95f33d1

Please sign in to comment.