Skip to content

Commit

Permalink
Store a copy of the skip functor in SkipInactiveOr (fixes a bug in th…
Browse files Browse the repository at this point in the history
…e delayed execution mode)
  • Loading branch information
mrzv committed Aug 9, 2016
1 parent 4ce891d commit 126635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/diy/reduce.hpp
Expand Up @@ -199,7 +199,7 @@ namespace detail
bool operator()(int i, const Master& master) const { return !partners.active(round, master.gid(i), master) || skip(round, i, master); }
int round;
const Partners& partners;
const Skip& skip;
Skip skip;
};
}

Expand Down

0 comments on commit 126635d

Please sign in to comment.