File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,10 @@ def test_query_equivalence_vertex(triangular_vertex_grid):
408408 y = np .array ([25.0 , 50.0 , 75.0 ])
409409
410410 cellids_vector = index .query_points (x , y )
411- cellids_single = np .array ([index .query_point (x [i ], y [i ]) for i in range (len (x ))], dtype = float )
411+ cellids_single = np .array (
412+ [index .query_point (x [i ], y [i ]) for i in range (len (x ))],
413+ dtype = float ,
414+ )
412415
413416 np .testing .assert_array_equal (cellids_vector , cellids_single )
414417
@@ -421,7 +424,10 @@ def test_query_equivalence_unstructured(triangular_unstructured_grid):
421424 y = np .array ([25.0 , 50.0 , 75.0 ])
422425
423426 cellids_vector = index .query_points (x , y )
424- cellids_single = np .array ([index .query_point (x [i ], y [i ]) for i in range (len (x ))], dtype = float )
427+ cellids_single = np .array (
428+ [index .query_point (x [i ], y [i ]) for i in range (len (x ))],
429+ dtype = float ,
430+ )
425431
426432 np .testing .assert_array_equal (cellids_vector , cellids_single )
427433
You can’t perform that action at this time.
0 commit comments