Skip to content

Commit

Permalink
[FIX] fix needed for the new commit of the FastFlow library
Browse files Browse the repository at this point in the history
  • Loading branch information
massimotorquati committed Feb 6, 2021
1 parent 738f8f9 commit 8ce18d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wf/multipipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,13 @@ class MultiPipe: public ff::ff_pipeline
}
// Case 1.2 (at least two nested Matrioska)
else {
last->cleanup_firstset(false);
auto first_set_last = last->getFirstSet();
last->remove_from_cleanuplist(first_set_last);
std::vector<ff::ff_node *> second_set_secondToLast;
for (size_t i=0; i<first_set_last.size(); i++) {
second_set_secondToLast.push_back(first_set_last[i]);
}
secondToLast->change_secondset(second_set_secondToLast, true);
secondToLast->change_secondset(second_set_secondToLast, true, true);
delete last;
last = secondToLast;
secondToLast = nullptr;
Expand Down

0 comments on commit 8ce18d1

Please sign in to comment.