From b384a2508cedfb05131a77a65ff751816d988764 Mon Sep 17 00:00:00 2001 From: Tom Gustafsson Date: Tue, 18 Jun 2024 14:34:27 +0300 Subject: [PATCH] fix doctest --- docs/advanced.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 8731a0404..6dc096cf1 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -185,7 +185,7 @@ The DOFs corresponding to the nodes (or vertices) of the mesh are .. doctest:: >>> basis.nodal_dofs - array([[0, 1, 2, 3, 4, 5, 6, 7]]) + array([[0, 1, 2, 3, 4, 5, 6, 7]], dtype=int32) This means that the first (zeroth) entry in the DOF array corresponds to the first node/vertex in the finite element mesh (see ``m.p`` for a list of @@ -207,9 +207,9 @@ edges) and the facets (``m.facets`` for a list of facets) of the mesh are .. doctest:: >>> basis.edge_dofs - array([[ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]]) + array([[ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]], dtype=int32) >>> basis.facet_dofs - array([[20, 21, 22, 23, 24, 25]]) + array([[20, 21, 22, 23, 24, 25]], dtype=int32) .. plot::