From b3e99932e97de69e7ef4e85ed68ce62711e2ac6f Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 15 Nov 2021 19:43:24 +0100 Subject: [PATCH] Step-64: be explicit regarding templater parameter --- examples/step-64/step-64.cu | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/step-64/step-64.cu b/examples/step-64/step-64.cu index d163532ba7..cb76fea302 100644 --- a/examples/step-64/step-64.cu +++ b/examples/step-64/step-64.cu @@ -133,8 +133,9 @@ namespace Step64 : coef(coef) {} - __device__ void - operator()(CUDAWrappers::FEEvaluation *fe_eval) const; + __device__ void operator()( + CUDAWrappers::FEEvaluation + *fe_eval) const; private: double coef; @@ -150,7 +151,8 @@ namespace Step64 // here: template __device__ void HelmholtzOperatorQuad::operator()( - CUDAWrappers::FEEvaluation *fe_eval) const + CUDAWrappers::FEEvaluation + *fe_eval) const { fe_eval->submit_value(coef * fe_eval->get_value()); fe_eval->submit_gradient(fe_eval->get_gradient()); -- 2.39.5