Skip to content

Commit b975b67

Browse files
authored
Merge pull request #4344 from roystgnr/fix_nvcxx_warning
Remove unused parameters from unit test
2 parents 4c8f1da + 562efc3 commit b975b67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/systems/disjoint_neighbor_test.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private:
343343
LOG_UNIT_TEST;
344344

345345
Mesh mesh(*TestCommWorld, 2);
346-
build_split_mesh_with_interface(mesh, Nx, Ny, 1.0, 1.0);
346+
build_split_mesh_with_interface(mesh, Nx, Ny);
347347

348348
EquationSystems es(mesh);
349349
LinearImplicitSystem & sys =
@@ -398,7 +398,7 @@ private:
398398
try
399399
{
400400
Mesh mesh(*TestCommWorld, 2);
401-
build_split_mesh_with_interface(mesh, Nx, Ny, 1.0, 1.0, true);
401+
build_split_mesh_with_interface(mesh, Nx, Ny, true);
402402
}
403403
catch (const std::exception &e)
404404
{
@@ -713,7 +713,7 @@ private:
713713
}
714714

715715
// The interface is located at x = 0.5; nx must be even (split evenly into left and right subdomains)
716-
void build_split_mesh_with_interface(Mesh &mesh, unsigned nx, unsigned ny, double Lx, double Ly, bool test_local_refinement = false)
716+
void build_split_mesh_with_interface(Mesh &mesh, unsigned nx, unsigned ny, bool test_local_refinement = false)
717717
{
718718
// Ensure nx is even so the interface aligns with element boundaries
719719
libmesh_error_msg_if(nx % 2 != 0, "nx must be even!");

0 commit comments

Comments
 (0)