Skip to content
Snippets Groups Projects
Commit 8499007a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

INode::checkNodeArgs(): rm duplicate check

parent 1ad4ec6c
No related branches found
No related tags found
1 merge request!1008Parameter checks: simplifications and preparations for more
......@@ -27,14 +27,6 @@ INode::INode(std::vector<double> PValues)
void INode::checkNodeArgs() const
{
size_t nP = m_P.size();
if (parDefs().size() != nP) {
std::cerr << "BUG in class " << className() << std::endl;
std::cerr << "#m_P = " << nP << std::endl;
std::cerr << "#PDf = " << parDefs().size() << std::endl;
for (const ParaMeta& pm : parDefs())
std::cerr << " PDf: " << pm.name << std::endl;
ASSERT(0);
}
ASSERT(parDefs().size() == nP);
for (size_t i = 0; i < nP; ++i) {
const ParaMeta pm = parDefs()[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment