Skip to content

Commit 17c44c2

Browse files
use bool instead of int
1 parent 3462d36 commit 17c44c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/t8_cmesh/t8_cmesh_io/t8_cmesh_readmshfile.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ t8_cmesh_process_tree_geometry (const t8_cmesh_t cmesh, const t8_eclass_t eclass
741741
}
742742
/* Now we can check if every node lies on the surface and retrieve its parameters */
743743
if (surface_index) {
744-
int all_nodes_on_surface = 1;
744+
bool all_nodes_on_surface = 1;
745745
/* If the surface is closed in any direction we may need some reference parameters on the surface.
746746
These reference parameters can be used to find the right parameters if we need to convert
747747
seam edge parameters to the face parameters. */

0 commit comments

Comments
 (0)