Skip to content

Commit

Permalink
Merge pull request #1229 from LLNL/bugfix/gunney/mesh-view-util
Browse files Browse the repository at this point in the history
Fix MeshViewUtil test failure
  • Loading branch information
gunney1 committed Dec 6, 2023
2 parents 631e5ef + f6e5258 commit 6ca21ec
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/axom/quest/tests/quest_mesh_view_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,6 @@ int testByConduitExample(const IndexCoords& domainShape,

axom::quest::MeshViewUtil<3, axom::MemorySpace::Dynamic> mview(domain);

if(!mview.isValid(true, true))
{
++errCount;
SLIC_INFO_IF(params.isVerbose(), "Test view is not valid.");
}

// Data parameters not dependent on striding order.

IndexCoords elemShape = mview.getCellShape();
Expand Down Expand Up @@ -724,10 +718,7 @@ int testByConduitExample(const IndexCoords& domainShape,
//------------------------------------------------------------------------------
int main(int argc, char** argv)
{
// This test is serial, but conduit might use MPI.
#ifdef AXOM_USE_MPI
MPI_Init(&argc, &argv);
#endif
int errCount = 0;

initializeLogger();

Expand All @@ -746,8 +737,6 @@ int main(int argc, char** argv)
exit(retval);
}

int errCount = 0;

{
// Test conversion methods.
errCount += testConversionMethods({2, 3, 5}, {0, 0, 0}, {0, 0, 0}, {0, 1, 2});
Expand Down Expand Up @@ -791,10 +780,6 @@ int main(int argc, char** argv)

finalizeLogger();

#ifdef AXOM_USE_MPI
MPI_Finalize();
#endif

return (errCount != 0);
}

Expand Down

0 comments on commit 6ca21ec

Please sign in to comment.