Skip to content

Commit

Permalink
remove dobule ;
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Jul 15, 2024
1 parent b027476 commit a645eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/multi/array_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ struct array_iterator<Element, 1, Ptr, IsConst> // NOLINT(fuchsia-multiple-inhe
using rank = std::integral_constant<dimensionality_type, rank_v>;

constexpr auto operator<(array_iterator const& other) const -> bool {
assert(other.stride_ == stride_); ;
assert(other.stride_ == stride_);
assert((ptr_ - other.ptr_)%stride_ == 0);
return (ptr_ - other.ptr_)/stride_ < 0;
// return distance_to_(other) > 0;
Expand Down

0 comments on commit a645eef

Please sign in to comment.