From 12a7988abcc76347a91c49d85b53dfaa9172fe6f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 14 May 2009 16:33:46 +0000 Subject: [PATCH] use macro to extract element id --- src/h5_core/h5t_boundaries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h5_core/h5t_boundaries.c b/src/h5_core/h5t_boundaries.c index 359e803..2fe3386 100644 --- a/src/h5_core/h5t_boundaries.c +++ b/src/h5_core/h5t_boundaries.c @@ -298,7 +298,7 @@ h5t_store_boundaryface_local_id ( switch ( t->mesh_type ) { case H5_OID_TETRAHEDRON: { - h5_id_t local_tet_id = local_fid & H5_TET_MASK; + h5_id_t local_tet_id = _h5t_get_elem_id ( local_fid ); if ( t->elems.tets[local_tet_id].global_parent_eid != -1 ) { return _h5t_error_store_boundaryface_local_id ( f,