Skip to content

Commit 90a8801

Browse files
committed
fix warning
1 parent 6c2b55c commit 90a8801

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2432,7 +2432,7 @@ def test_fast_winding_number_for_meshes(self):
24322432

24332433
def test_flip_avoiding_line_search(self):
24342434
def fun(v):
2435-
return np.random.rand(1)
2435+
return np.random.rand(1)[0]
24362436

24372437
energy, vr = igl.flip_avoiding_line_search(
24382438
self.f1, self.v1[:, :2], self.v1[:, :2], fun, 10.0)

0 commit comments

Comments
 (0)