Skip to content

Commit 3fdc4bc

Browse files
authored
Merge pull request #4429 from roystgnr/nvhpc_fixes
Fix unused variable warning for nvc++
2 parents e0e7dfb + a93feee commit 3fdc4bc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/mesh/mesh_elem_test.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ class MeshPerElemTest : public PerElemTest<elem_type>
8383
for (auto d : make_range(LIBMESH_DIM))
8484
(*n1)(d) = double(n(d));
8585
}
86+
#else
87+
libmesh_ignore(double_precision);
8688
#endif
8789
if (Point(*n1) == Point(n))
8890
n2 = other_mesh.node_ptr(n.id());

0 commit comments

Comments
 (0)