diff --git a/arbor/backends/gpu/diffusion_state.hpp b/arbor/backends/gpu/diffusion_state.hpp index 5171fcc545..e2a68a5008 100644 --- a/arbor/backends/gpu/diffusion_state.hpp +++ b/arbor/backends/gpu/diffusion_state.hpp @@ -19,7 +19,6 @@ namespace gpu { template struct diffusion_state { -public: using value_type = T; using size_type = I; @@ -86,7 +85,6 @@ struct diffusion_state { diffusion_state(const std::vector& p, const std::vector& cell_cv_divs, const std::vector& face_diffusivity, - const std::vector& area, const std::vector& volume) { using util::make_span; constexpr unsigned npos = unsigned(-1); @@ -380,7 +378,7 @@ struct diffusion_state { // transform u_shuffled values into packed u vector. flat_to_packed(u_shuffled, u); - // the invariant part of d and cv_area are in flat form + // data in flat form cv_volume = memory::make_const_view(volume); invariant_d = memory::make_const_view(invariant_d_tmp);