Skip to content

Commit

Permalink
fixed pedantic error
Browse files Browse the repository at this point in the history
  • Loading branch information
burnpanck committed Sep 16, 2024
1 parent 60c94da commit d00b330
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/include/mp-units/bits/fixed_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct double_width_int {
auto ret = ret_t::wide_product_of(rhs, lhs.lo);
ret.hi += lhs.hi * rhs;
return ret;
};
}
template<std::integral Lhs>
friend constexpr auto operator*(Lhs lhs, const double_width_int& rhs)
{
Expand Down Expand Up @@ -154,7 +154,7 @@ struct double_width_int {
}
return ret_t{res_hi, res_lo};
}
};
}

template<std::integral Rhs>
requires(std::numeric_limits<Rhs>::digits <= base_width)
Expand Down
2 changes: 1 addition & 1 deletion test/static/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ add_library(
custom_rep_test_min_impl.cpp
dimension_test.cpp
dimension_symbol_test.cpp
fixed_point.cpp
fixed_point_test.cpp
fixed_string_test.cpp
hep_test.cpp
iau_test.cpp
Expand Down
File renamed without changes.

0 comments on commit d00b330

Please sign in to comment.