This commit is contained in:
Pavel Krajcevski 2014-02-16 18:29:08 -05:00
parent 2213e1b7d6
commit 0875ee0ddb

View file

@ -46,7 +46,7 @@ namespace FasTC {
for(int i = 0; i < N; i++) vec[i] = other[i]; for(int i = 0; i < N; i++) vec[i] = other[i];
} }
explicit VectorBase(T *_vec) { explicit VectorBase(const T *_vec) {
for(int i = 0; i < N; i++) { for(int i = 0; i < N; i++) {
vec[i] = _vec[i]; vec[i] = _vec[i];
} }