Skip to content
Snippets Groups Projects
Commit 87a7b6c7 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix vertex index dtype assertion error in test

parent ee5171e1
No related branches found
No related tags found
Loading
......@@ -132,7 +132,7 @@ def test_sanity_single_element(ctx_getter, dim, order, visualize=False):
from meshmode.mesh import SimplexElementGroup, Mesh
mg = SimplexElementGroup(
order=order,
vertex_indices=np.arange(dim+1).reshape(1, -1),
vertex_indices=np.arange(dim+1, dtype=np.int32).reshape(1, -1),
nodes=mp.warp_and_blend_nodes(dim, order).reshape(dim, 1, -1),
dim=dim)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment