mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
refactor(unit test): it seems that explicit operator*
for LA usage is no longer needed
This commit is contained in:
@@ -38,12 +38,6 @@ using vector = STD_LA::fixed_size_column_vector<Rep, 3>;
|
|||||||
template<typename Rep>
|
template<typename Rep>
|
||||||
inline constexpr bool mp_units::is_vector<vector<Rep>> = true;
|
inline constexpr bool mp_units::is_vector<vector<Rep>> = true;
|
||||||
|
|
||||||
template<typename Rep, mp_units::Reference R>
|
|
||||||
[[nodiscard]] constexpr mp_units::quantity<R{}, vector<Rep>> operator*(const vector<Rep>& lhs, R)
|
|
||||||
{
|
|
||||||
return mp_units::make_quantity<R{}>(lhs);
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace STD_LA {
|
namespace STD_LA {
|
||||||
|
|
||||||
template<typename Rep>
|
template<typename Rep>
|
||||||
|
Reference in New Issue
Block a user