Skip to content

Commit

Permalink
Address review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Wolfgang Bangerth <bangerth@colostate.edu>
  • Loading branch information
masterleinad and bangerth committed Jul 13, 2023
1 parent c8b16f5 commit f087997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/arborx/access_traits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ namespace ArborXWrappers
{
static_assert(dim >= 1 && dim <= 3);
if (dim == 1)
return {float(p[0]), 0.f, 0.f};
return Point<3, float>(p[0], 0.f, 0.f);
else if (dim == 2)
return {float(p[0]), float(p[1]), 0.f};
return Point<3, float>(p[0], p[1], 0.f);
else
return {float(p[0]), float(p[1]), float(p[2])};
return Point<3, float>(p[0], p[1], p[2]);
}
} // namespace

Expand Down

0 comments on commit f087997

Please sign in to comment.