Skip to content
Snippets Groups Projects
Commit cec91cc6 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

fixed node type check being in the wrong place

parent 48b4e1ab
No related branches found
No related tags found
No related merge requests found
......@@ -141,8 +141,6 @@ ProcessManager::buildProcessTree(std::vector<std::shared_ptr<Node>> roots)
Debug(PROCESS, "adding out files to %s", node->oper);
Debug(PROCESS, "node type = %d", n->type);
if (n->type == Node::NodeType::OUTFILE) { first_process->add_file_out_stream(n->oper); }
else if (n->type == Node::NodeType::OUT_MEM_BUFFER) { first_process->add_mem_out_stream(n->ncid); }
else { cdo_abort("Unkown stream type"); }
}
}
......
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