Skip to content
Snippets Groups Projects
Commit 4b9861a4 authored by Martin Hanzik's avatar Martin Hanzik Committed by Jan Trávníček
Browse files

Cleanup

parent e620e5a7
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@ std::shared_ptr<abstraction::OperationAbstraction> ParallelExecutor::execute(Out
}
 
// collect all boxes leading to the output box
// TODO validate this
std::vector<ModelBox*> boxes;
boxes.push_back(output);
 
......@@ -35,9 +34,8 @@ std::shared_ptr<abstraction::OperationAbstraction> ParallelExecutor::execute(Out
for (auto* b: box->inputs) {
if (!b) {
// unconnected input
// TODO move this elsewhere
// TODO check this earlier
throw exception::CommonException { "Connection graph contains an unconnected input." };
return nullptr;
}
boxes.push_back(b);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment