Commit 2c0b3469 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Estimation DLL, Vector class: fixed bug in the copy constructor

parent 110a33a0
......@@ -29,6 +29,7 @@ Vector::Vector(size_t size_arg) : size(size_arg)
Vector::Vector(const Vector &arg) : size(arg.size)
data = new double[size];
memcpy(data,, size*sizeof(double));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment