correction in last commit
This commit is contained in:
parent
389e4ec0a3
commit
b2290e14e5
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace MultiArrayHelper
|
||||||
const size_t nn = n*type_size;
|
const size_t nn = n*type_size;
|
||||||
const size_t off = nn%N;
|
const size_t off = nn%N;
|
||||||
const size_t nnx = (off == 0) ? nn : nn + N - off;
|
const size_t nnx = (off == 0) ? nn : nn + N - off;
|
||||||
const size_t nnd = nnx/4;
|
const size_t nnd = nnx/N;
|
||||||
VX* vx = new VX[nnd];
|
VX* vx = new VX[nnd];
|
||||||
return reinterpret_cast<T*>(vx);
|
return reinterpret_cast<T*>(vx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue