diff --git a/source/simple/geom/vector.hpp b/source/simple/geom/vector.hpp index 8f2632a10b7802c8a0615bc17dbf7c76bc99f467..31f1e57d86ee31ac60c9d7dc0bf898c3478de919 100644 --- a/source/simple/geom/vector.hpp +++ b/source/simple/geom/vector.hpp @@ -371,7 +371,7 @@ namespace simple::geom template <size_t N, typename Mixed = vector<Coordinate, N>> [[nodiscard]] - constexpr Mixed mix(const support::array<Coordinate,N>& indices) const + constexpr Mixed mix(const support::array<size_t,N>& indices) const { Mixed result{}; size_t index{}; @@ -387,7 +387,7 @@ namespace simple::geom template <size_t N, typename Mixed = vector<Coordinate, N>> [[nodiscard]] - constexpr Mixed mix(const support::array<Coordinate,N>& indices, const Coordinate& default_value) const + constexpr Mixed mix(const support::array<size_t,N>& indices, const Coordinate& default_value) const { Mixed result{}; size_t index{};