From 429bb891a1300b8fa21e4fd18276280c9d919cd6 Mon Sep 17 00:00:00 2001 From: "Philip Mueller, HS" <philip.paul.mueller@bluemail.ch> Date: Thu, 22 Aug 2019 10:22:31 +0200 Subject: [PATCH] Realized that the SampleArray does not use the valueArray_t type that is provided by Yggdrasil. Instead the std::vector is used. --- code/cpp/samples/yggdrasil_arraySample.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/cpp/samples/yggdrasil_arraySample.hpp b/code/cpp/samples/yggdrasil_arraySample.hpp index f9c745f9..997498f6 100644 --- a/code/cpp/samples/yggdrasil_arraySample.hpp +++ b/code/cpp/samples/yggdrasil_arraySample.hpp @@ -11,6 +11,7 @@ #include <core/yggdrasil_exception.hpp> #include <core/yggdrasil_consts.hpp> #include <core/yggdrasil_int.hpp> +#include <core/yggdrasil_valueArray.hpp> #include <core/yggdrasil_eigen.hpp> @@ -24,6 +25,7 @@ YGGDRASIL_NS_START(yggdrasil) + /** * \class yggdrasil_arraySample_t * \brief Representation of many samples. @@ -56,10 +58,10 @@ class yggdrasil_arraySample_t * Typedef */ public: - using Vector_t = ::std::vector<Numeric_t>; //!< This is the underlying implementation of the collection of numbers + using Vector_t = yggdrasil_valueArray_t<Numeric_t>; //!< This is the underlying implementation of the collection of numbers //!< This typedef is meant for internal work using Allocator_t = Vector_t::allocator_type; //!< This is the allocator type, only for internal use - using value_type = Vector_t::value_type; //!< The underlying type of sample + //using value_type = Vector_t::value_type; //!< The underlying type of sample //using reference = Vector_t::reference; //!< This is a a reference //using const_reference = Vector_t::const_reference; //!< This is a constant reference //using iterator = Vector_t::iterator; //!< The iterator allows traversing the dimensions -- GitLab