convert users of the ASSERT and the ASSERT2 macros to standard assert()

This commit is contained in:
Andreas Lauser committed 2013-09-05 13:04:37 +02:00
1 parent 19e5d5cea2
commit c25ec5999e
38 files changed
+123 -123

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ namespace Opm
if (parent == NULL) {
OPM_THROW(std::runtime_error, "Parent with name = " << parent_name << " not found.");
}
ASSERT(!parent->isLeafNode());
assert(!parent->isLeafNode());
static_cast<WellsGroup*>(parent)->addChild(child_node);
if (child_node->isLeafNode()) {
leaf_nodes_.push_back(static_cast<WellNode*>(child_node.get()));