Skip to content

Commit

Permalink
Merge pull request #1437 from LLNL/bugfix/kweiss/add-mc-guard
Browse files Browse the repository at this point in the history
Adds missing preprocessor guard to quest marching cubes example
  • Loading branch information
kennyweiss authored Oct 2, 2024
2 parents f6b1f59 + ca76580 commit 7a295f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ The format of this file is based on [Keep a Changelog](http://keepachangelog.com

The Axom project release numbers follow [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased] - Release date yyyy-mm-dd

### Added

### Changed

### Deprecated

### Removed

### Fixed
- Added a guard for sidre-related mint API usage in a quest example


## [Version 0.10.0] - Release date 2024-09-27

### Added
Expand Down
2 changes: 2 additions & 0 deletions src/axom/quest/examples/quest_marching_cubes_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ struct ContourTestBase
checkCellsContainingContour(computationalMesh, contourMesh);
}

#ifdef AXOM_MINT_USE_SIDRE
if(contourMesh.hasSidreGroup())
{
assert(contourMesh.getSidreGroup() == meshGroup);
Expand All @@ -962,6 +963,7 @@ struct ContourTestBase
saveMesh(*contourMesh.getSidreGroup(), outputName);
SLIC_INFO(axom::fmt::format("Wrote contour mesh to {}", outputName));
}
#endif
AXOM_ANNOTATE_END("error checking");

objectDS.getRoot()->destroyGroupAndData(sidreGroupName);
Expand Down

0 comments on commit 7a295f3

Please sign in to comment.