Skip to content
Snippets Groups Projects
Commit ad95ad6e authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed critical issue with scheduler with MetaOps

parent 9f92e9aa
No related tags found
2 merge requests!152Update Aidge export to take a graph view has an argument instead of a...,!139Multiple fixes
Pipeline #48119 canceled
...@@ -643,7 +643,7 @@ Aidge::Elts_t Aidge::Scheduler::getNbAvailableData(const std::shared_ptr<Node>& ...@@ -643,7 +643,7 @@ Aidge::Elts_t Aidge::Scheduler::getNbAvailableData(const std::shared_ptr<Node>&
if (input.first == node) { if (input.first == node) {
// Current node is an input // Current node is an input
const auto upperInput = upperNode->inputs()[nodeInputIdx]; const auto upperInput = upperNode->inputs()[nodeInputIdx];
if (upperInput.first) { if (upperInput.first && nodeInputIdx == inputIdx) {
return upperInput.first->getOperator()->getNbProducedData(upperInput.second); return upperInput.first->getOperator()->getNbProducedData(upperInput.second);
} }
} }
......
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