From b70bdfee832da7ce82611be19f2d4ccbace11f45 Mon Sep 17 00:00:00 2001 From: Shreyas Ananthan Date: Sun, 14 Mar 2021 10:05:32 -0600 Subject: [PATCH] Fix warning in actuator functors --- src/actuator/ActuatorFunctorsFAST.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actuator/ActuatorFunctorsFAST.C b/src/actuator/ActuatorFunctorsFAST.C index 1b67c00e1..d3f2fde3e 100644 --- a/src/actuator/ActuatorFunctorsFAST.C +++ b/src/actuator/ActuatorFunctorsFAST.C @@ -32,7 +32,7 @@ ActFastCacheRelativeVelocities(ActuatorBulkFAST& actBulk) const int turbId = actBulk.localTurbineId_; Kokkos::parallel_for( - "cache rel vel", range_policy, KOKKOS_LAMBDA(int i) { + "cache rel vel", range_policy, ACTUATOR_LAMBDA(int i) { int index = i - offset(turbId); auto rV = Kokkos::subview(relVel, i, Kokkos::ALL); fast->getRelativeVelForceNode(rV.data(), index, turbId);