Skip to content

Commit

Permalink
Redundant arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Oct 16, 2023
1 parent 6c3277a commit 3e19a4f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arbor/backends/gpu/diffusion_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ namespace gpu {

template <typename T, typename I>
struct diffusion_state {
public:
using value_type = T;
using size_type = I;

Expand Down Expand Up @@ -86,7 +85,6 @@ struct diffusion_state {
diffusion_state(const std::vector<size_type>& p,
const std::vector<size_type>& cell_cv_divs,
const std::vector<value_type>& face_diffusivity,
const std::vector<value_type>& area,
const std::vector<value_type>& volume) {
using util::make_span;
constexpr unsigned npos = unsigned(-1);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 3e19a4f

Please sign in to comment.