convert users of the ASSERT and the ASSERT2 macros to standard assert()
This commit is contained in:
1 parent
19e5d5cea2
commit
c25ec5999e
38 files changed
+123
-123
No files matched your search
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user