Skip to content

Commit

Permalink
Fix Vec3 reference
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Dec 6, 2023
1 parent f90108e commit 83e8a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floris/tools/floris_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def get_turbine_layout(self, z=False):
np.array: lists of x, y, and (optionally) z coordinates of
each turbine
"""
xcoords, ycoords, zcoords = np.array([c.components for c in self.floris.farm.coordinates]).T
xcoords, ycoords, zcoords = self.floris.farm.coordinates.T
if z:
return xcoords, ycoords, zcoords
else:
Expand Down

0 comments on commit 83e8a4d

Please sign in to comment.