fix(unit test): vector<T> now properly propagates treat_as_floating_point

This commit is contained in:
Mateusz Pusz
2023-09-10 14:17:59 +02:00
parent 42527d2bfb
commit 507d5bc446

View File

@@ -34,6 +34,9 @@
template<typename Rep = double> template<typename Rep = double>
using vector = STD_LA::fixed_size_column_vector<Rep, 3>; using vector = STD_LA::fixed_size_column_vector<Rep, 3>;
template<class Rep>
inline constexpr bool mp_units::treat_as_floating_point<vector<Rep>> = mp_units::treat_as_floating_point<Rep>;
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;