Use util::array as the storage for math types with dynamic size
This commit is contained in:
parent
e40467a8d1
commit
17d857ecf2
1 changed files with 2 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue