Use util::array as the storage for math types with dynamic size

This commit is contained in:
Nikita Lisitsa 2025-10-25 15:20:59 +03:00
parent e40467a8d1
commit 17d857ecf2

View file

@ -2,8 +2,7 @@
#include <psemek/math/dynamic.hpp>
#include <psemek/util/exception.hpp>
#include <vector>
#include <psemek/util/array.hpp>
namespace psemek::math::detail
{
@ -37,7 +36,7 @@ namespace psemek::math::detail
template <typename T>
struct array<T, dynamic>
{
using type = std::vector<T>;
using type = util::array<T>;
};
template <typename T, typename ... Args>