diff --git a/include/aidge/backend/cpu/data/TensorImpl.hpp b/include/aidge/backend/cpu/data/TensorImpl.hpp index 3fc67c3392bff90c6f57408b38ceef015bf5e00c..cc9ecc924772c78846009594c20458d4c30ba66e 100644 --- a/include/aidge/backend/cpu/data/TensorImpl.hpp +++ b/include/aidge/backend/cpu/data/TensorImpl.hpp @@ -101,7 +101,7 @@ class TensorImpl_cpu : public TensorImpl { std::copy(static_cast<const uint16_t*>(src), static_cast<const uint16_t*>(src) + length, static_cast<T *>(rawPtr())); break; - case ataType::Int8: + case DataType::Int8: std::copy(static_cast<const int8_t*>(src), static_cast<const int8_t*>(src) + length, static_cast<T *>(rawPtr())); break;