From 87935e4326ae2f4e6417410086e3612870b32c4a Mon Sep 17 00:00:00 2001 From: misi9170 Date: Wed, 24 Apr 2024 10:41:49 -0600 Subject: [PATCH] Remove extra dimension in indexing hub_heights. --- floris/core/farm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/floris/core/farm.py b/floris/core/farm.py index 6ab28d2a0..58b29637b 100644 --- a/floris/core/farm.py +++ b/floris/core/farm.py @@ -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] ) ])