Skip to content

Commit

Permalink
fix(unit test): vector<T> now properly propagates `treat_as_floatin…
Browse files Browse the repository at this point in the history
…g_point`
  • Loading branch information
mpusz committed Sep 10, 2023
1 parent 42527d2 commit 507d5bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit_test/runtime/linear_algebra_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
template<typename Rep = double>
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>
inline constexpr bool mp_units::is_vector<vector<Rep>> = true;

Expand Down

0 comments on commit 507d5bc

Please sign in to comment.