@@ -2203,9 +2203,7 @@ def test_cut_to_disk(self):
22032203 self .assertTrue (len (cuts ) == 9 )
22042204
22052205 def test_iterative_closest_point (self ):
2206- # This crashes in libigl
2207- #r, t = igl.iterative_closest_point(self.v, self.f, self.v1, self.f1, 10, 20)
2208- r , t = igl .iterative_closest_point (self .v , self .f , self .v1 , self .f1 , 3 , 20 )
2206+ r , t = igl .iterative_closest_point (self .v1 , self .f1 , self .v1 , self .f1 , 3 , 20 )
22092207 self .assertEqual (r .shape , (3 , 3 ))
22102208 self .assertEqual (t .shape , (3 ,))
22112209 self .assertTrue (r .flags .c_contiguous )
@@ -2236,9 +2234,8 @@ def test_sharp_edges(self):
22362234
22372235 def test_quad_grid (self ):
22382236 v , q , e = igl .quad_grid (3 , 3 )
2239- self .assertTrue (v .shape == (3 * 3 , 2 )) # TODO: IGL Function has wrong arguments, fix in igl
2237+ self .assertTrue (v .shape == (3 * 3 , 2 ))
22402238 self .assertTrue (q .shape == (2 * 2 , 4 ))
2241- print (v , q , e )
22422239 self .assertTrue (v .flags .c_contiguous )
22432240 self .assertTrue (q .flags .c_contiguous )
22442241 self .assertTrue (v .dtype == np .float )
0 commit comments