Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Wilson <[email protected]>
  • Loading branch information
bam241 and gonuke authored May 19, 2020
1 parent 0ad526f commit 1027ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dagmc/DagMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ ErrorCode DagMC::build_indices(Range& surfs, Range& vols) {
EntityHandle tmp_offset = 0;

if (surfs.size() == 0 || vols.size() == 0) {
std::cout << "Volumes or Surfaces founds" << std::endl;
std::cout << "Volumes or Surfaces not found" << std::endl;
return MB_ENTITY_NOT_FOUND;
}
setOffset = std::min(*surfs.begin(), *vols.begin());
Expand Down

0 comments on commit 1027ac8

Please sign in to comment.