Skip to content

Commit

Permalink
Comment edit.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Sep 26, 2024
1 parent 4cc7f1d commit 84a23f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/tatami_tiledb/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ class VariableDimension {

template<typename T, typename Index_>
static T safe_negative_add(T l, Index_ r) {
// The general principle here is to get us to the point where we're dealing
// with two signed (or two unsigned) integers.
// The general principle here is to get us to the point where we're
// dealing with two signed (or two unsigned) integers that can be
// used in comparisons and arithmetic without surprises.
if constexpr(std::is_signed<Index_>::value) {
return l + r;
} else {
Expand Down

0 comments on commit 84a23f7

Please sign in to comment.