From 78bbd85f170b106b6a3f760c54cab87fc01ebf5e Mon Sep 17 00:00:00 2001 From: "Mads M. Pedersen" <mmpe@dtu.dk> Date: Wed, 9 May 2018 13:56:51 +0200 Subject: [PATCH] fixed failing test --- topfarm/constraint_components/boundary_component.py | 1 + 1 file changed, 1 insertion(+) diff --git a/topfarm/constraint_components/boundary_component.py b/topfarm/constraint_components/boundary_component.py index 2fd8c5e7..7e1292e4 100644 --- a/topfarm/constraint_components/boundary_component.py +++ b/topfarm/constraint_components/boundary_component.py @@ -8,6 +8,7 @@ class BoundaryComp(ExplicitComponent): def __init__(self, vertices, nTurbines, boundary_type='convex_hull'): super(BoundaryComp, self).__init__() self.nTurbines = nTurbines + self.vertices = np.array(vertices) self.nVertices = self.vertices.shape[0] self.calculate_boundary_and_normals(vertices, boundary_type) self.calculate_gradients() -- GitLab