Skip to content

Commit

Permalink
Twas I that was the fool
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Oct 26, 2024
1 parent 9807767 commit da044dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests/dsl/TaskScope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class TestReactor : public test_util::TestBase<TestReactor> {
std::map<int, StepData> steps; ///< The steps that have been run
};

template <int Current, int Scope, typename Message>
template <int Current, int ScopeID, typename Message>
void process_step(const Message& d) {

using NextData = Data<Current + 1>;
Expand All @@ -72,7 +72,7 @@ class TestReactor : public test_util::TestBase<TestReactor> {
auto next_inline = std::make_unique<NextData>();
next_inline->steps = d.steps;
next_inline->steps[Current] = {
Scope,
ScopeID,
true,
{TaskScope<Data<0>>::in_scope(), TaskScope<Data<1>>::in_scope(), TaskScope<Data<2>>::in_scope()},
};
Expand All @@ -82,7 +82,7 @@ class TestReactor : public test_util::TestBase<TestReactor> {
auto next_normal = std::make_unique<NextData>();
next_normal->steps = d.steps;
next_normal->steps[Current] = {
Scope,
ScopeID,
false,
{TaskScope<Data<0>>::in_scope(), TaskScope<Data<1>>::in_scope(), TaskScope<Data<2>>::in_scope()}};
emit(next_normal);
Expand Down

0 comments on commit da044dc

Please sign in to comment.