Skip to content

Commit

Permalink
remove static_assert
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Oct 9, 2024
1 parent 0c45cc8 commit f0315a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/multi/adaptors/blas/gemm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class gemm_iterator {
using reference = gemm_reference<decltype((*b_begin_).extensions())>;
using iterator_category = std::random_access_iterator_tag;

static_assert( std::is_base_of<std::random_access_iterator_tag, typename std::iterator_traits<gemm_iterator>::iterator_category>{} );
// static_assert( std::is_base_of_v<std::random_access_iterator_tag, typename std::iterator_traits<gemm_iterator>::iterator_category> );

auto operator+=(difference_type n) -> gemm_iterator& {a_it_ += n; return *this;}
auto operator-=(difference_type n) -> gemm_iterator& {a_it_ -= n; return *this;}
Expand Down

0 comments on commit f0315a4

Please sign in to comment.