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

Hotfix: missing check in scheduler

parent 45cd45cc
No related branches found
No related tags found
1 merge request!212Version 0.3.0
Pipeline #54083 passed
...@@ -219,7 +219,7 @@ std::vector<std::shared_ptr<Aidge::Scheduler::StaticSchedulingElement>> Aidge::S ...@@ -219,7 +219,7 @@ std::vector<std::shared_ptr<Aidge::Scheduler::StaticSchedulingElement>> Aidge::S
bool isProducer = false; bool isProducer = false;
for (IOIndex_t outId = 0; outId < consumer->nbOutputs(); ++outId) { for (IOIndex_t outId = 0; outId < consumer->nbOutputs(); ++outId) {
for (const auto& child : consumer->getChildren(outId)) { for (const auto& child : consumer->getChildren(outId)) {
if (child) { if (child && mGraphView->inView(child)) {
IOIndex_t inputIdx = 0; IOIndex_t inputIdx = 0;
for (const auto& childParent : child->getParents()) { for (const auto& childParent : child->getParents()) {
if (childParent == consumer) { if (childParent == consumer) {
......
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