Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Sep 26, 2023
1 parent 9b96595 commit cedb68d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/llama/Core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,18 +237,18 @@ namespace llama
/// Is true if, starting at two coordinates in two record dimensions, all subsequent nodes in the record dimension
/// tree have the same tag.
/// \tparam RecordDimA First record dimension.
/// \tparam LocalA \ref RecordCoord based on StartA along which the tags are compared.
/// \tparam RecordCoordA \ref RecordCoord based on RecordDimA along which the tags are compared.
/// \tparam RecordDimB second record dimension.
/// \tparam LocalB \ref RecordCoord based on StartB along which the tags are compared.
template<typename RecordDimA, typename LocalA, typename RecordDimB, typename LocalB>
/// \tparam RecordCoordB \ref RecordCoord based on RecordDimB along which the tags are compared.
template<typename RecordDimA, typename RecordCoordA, typename RecordDimB, typename RecordCoordB>
inline constexpr auto hasSameTags = []() constexpr
{
if constexpr(LocalA::size != LocalB::size)
if constexpr(RecordCoordA::size != RecordCoordB::size)
return false;
else if constexpr(LocalA::size == 0 && LocalB::size == 0)
else if constexpr(RecordCoordA::size == 0 && RecordCoordB::size == 0)
return true;
else
return std::is_same_v<GetTags<RecordDimA, LocalA>, GetTags<RecordDimB, LocalB>>;
return std::is_same_v<GetTags<RecordDimA, RecordCoordA>, GetTags<RecordDimB, RecordCoordB>>;
}();

namespace internal
Expand Down

0 comments on commit cedb68d

Please sign in to comment.