Fixed initialization of 3d FFT
This commit is contained in:
parent
126ec18317
commit
5d6ad978e8
@ -163,7 +163,7 @@ namespace CosmoTool
|
||||
template<typename T2>
|
||||
static std::vector<T2> make_3d_vector(T2 a, T2 b, T2 c)
|
||||
{
|
||||
T2 arr[2] = { a, b, c};
|
||||
T2 arr[3] = { a, b, c};
|
||||
return std::vector<T2>(&arr[0], &arr[3]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user