Skip to content

Commit

Permalink
kokkos#6805: fix more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Feb 26, 2024
1 parent c5711c1 commit 52aaaeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/View/MDSpan/Kokkos_MDSpan_Extents.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ struct DataTypeFromExtents {
/// Convert from a mdspan extent to a Kokkos extent, inserting 0s for static
/// extents
template <class Extents>
KOKKOS_INLINE_FUNCTION auto dimension_from_extent(const Extents &e, std::size_t r) noexcept {
KOKKOS_INLINE_FUNCTION auto dimension_from_extent(const Extents &e,
std::size_t r) noexcept {
return Extents::static_extent(r) == dynamic_extent ? e.extent(r) : 0;
}
} // namespace Kokkos::Experimental::Impl
Expand Down

0 comments on commit 52aaaeb

Please sign in to comment.