Fixed parameter types and return values
This commit is contained in:
parent
3ef6475121
commit
7db82b3bb1
@ -114,7 +114,7 @@ namespace CosmoTool
|
||||
}
|
||||
|
||||
template<typename Array, typename Array2>
|
||||
void get_Kvec(const Array& ik, Array& kvec)
|
||||
void get_Kvec(const Array& ik, Array2& kvec)
|
||||
{
|
||||
const DimArray& dims = this->getDims();
|
||||
assert(ik.size() == dims.size());
|
||||
@ -141,7 +141,7 @@ namespace CosmoTool
|
||||
d[q] = p%dims[q];
|
||||
p = (p-d[q])/dims[q];
|
||||
}
|
||||
return get_Kvec(d, kvec);
|
||||
get_Kvec(d, kvec);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user