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 committed May 28, 2020
1 parent 7860ac5 commit f0ef4ce
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 f0ef4ce

Please sign in to comment.