diff --git a/matrix/Vector.hpp b/matrix/Vector.hpp index db42f6bdbf..a65b5dfff0 100644 --- a/matrix/Vector.hpp +++ b/matrix/Vector.hpp @@ -35,6 +35,11 @@ public: { } + Vector(const Type *data_) : + Matrix(data_) + { + } + inline Type operator()(size_t i) const { const Matrix &v = *this;