Skip to content

Commit

Permalink
redo
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Feb 17, 2025
1 parent f4855cc commit 19f7ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/boost/multi/adaptors/blas/numeric.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ auto conj(A&& array) -> A&& {
template<
class A, class D = std::decay_t<A>, typename Elem = typename D::element_type,
typename Ptr = std::decay_t<decltype(std::declval<A&&>().base())>,
typename = decltype(std::declval<A>().size()),
// typename = decltype(std::declval<A&&>().template static_array_cast<Elem, conjugater<Ptr>>()),
std::enable_if_t<!is_conjugated<A>{} && is_complex_array<A>{}, int> =0> // NOLINT(modernize-use-constraints) TODO(correaa) for C++20
auto conj(A&& array) -> decltype(auto) {
return std::forward<A>(array).template static_array_cast<Elem, conjugater<Ptr>>();
Expand Down
2 changes: 1 addition & 1 deletion include/boost/multi/array_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ struct array_iterator // NOLINT(fuchsia-multiple-inheritance) for facades
using element_ptr = ElementPtr;
using element_const_ptr = typename std::pointer_traits<ElementPtr>::template rebind<element const>;
using value_type = typename subarray<element, D-1, element_ptr>::decay_type;
using element_type = value_type;
// using element_type = value_type;

using pointer = subarray<element, D - 1, element_ptr>*;
using reference = std::conditional_t<
Expand Down

0 comments on commit 19f7ac7

Please sign in to comment.