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

Added missing references

parent 10a9e375
No related branches found
No related tags found
2 merge requests!105version 0.2.0,!94Improved scheduling
Pipeline #40852 passed
......@@ -316,7 +316,7 @@ void Aidge::SequentialScheduler::generateEarlyLateScheduling(std::vector<StaticS
}
// Node can be run the earliest just after its latest parent was run
for (const auto parent : node->getParents()) {
for (const auto& parent : node->getParents()) {
// Find parent node latest scheduled position
const auto it = std::find_if(schedule.rend() - elt, schedule.rend(),
[parent](const auto& v) { return (v.node == parent); });
......@@ -343,7 +343,7 @@ void Aidge::SequentialScheduler::generateEarlyLateScheduling(std::vector<StaticS
}
// Node can be run the latest just before its earliest child is run
for (const auto child : node->getChildren()) {
for (const auto& child : node->getChildren()) {
// Find child node earliest scheduled position
const auto it = std::find_if(schedule.begin() + elt + 1, schedule.end(),
[child](const auto& v) { return (v.node == child); });
......
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