Commit 2685eb4b authored by Paul's avatar Paul
Browse files

Insert argument at the begining

parent 160f6202
......@@ -257,7 +257,7 @@ void schedule::apply(program& p) const
for(auto ins1 : split.second[i])
{
auto args = split.second[j];
args.push_back(ins1);
args.insert(args.begin(), ins1);
auto point = std::max_element(args.begin(), args.end(), [&](auto x, auto y) {
return std::distance(split.first, x) < std::distance(split.first, y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment