Skip to content

Commit

Permalink
Cleanup: Remove debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sayerhs committed Oct 2, 2017
1 parent f340173 commit 8dd6111
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mesh/spacing/MeshSpacing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,8 @@ MeshSpacing::create(
const YAML::Node& node,
std::string lookup)
{
if (MeshSpacingReg_ConstructorTable_ == nullptr) {
std::cerr << "Null pointer" << std::endl;
return nullptr;
}
auto it = MeshSpacingReg_ConstructorTable_->find(lookup);
if (it != MeshSpacingReg_ConstructorTable_->end()) {
std::cerr << lookup << std::endl;
return (it->second)(npts, node);
} else {
std::cout << "ERROR: Invalid mesh spacing => " << lookup << std::endl;
Expand Down

0 comments on commit 8dd6111

Please sign in to comment.