You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6c8daf4
Browse filesBrowse the repository at this point in the historyBrowse files
Fix unused, extra-semi, mismatched-tags and bitwise warnings in headers
- argsort_iter only reads data_end in assertions. Mark it
[[maybe_unused]] and drop the (void) idx_end cast, which was dead code
since idx_end is passed to std::iota.
- The flat argmin and argmax overloads declared a value_type alias they
never used. Remove it.
- initializer_shape does not read its argument when the shape has no
dimensions. Mark it [[maybe_unused]].
- accumulate_impl wrapped f in a lambda that was never called for an
empty tuple. Fold over the assignments directly.
- optional_bitwise combined bool flags with &. The operands are values
that are already computed, so && gives the same result. It is also
correct for flag types other than bool, where & could clear a set
flag (2 & true is 0). The simd path keeps & for batch_bool.
- Remove a stray ';' in xreducer_temporary_type<xoptional>.
- index_mapper was declared as a struct and defined as a class. Declare
it as a class.
0 commit comments