Fixed parameter types and return values

This commit is contained in:
Guilhem Lavaux 2012-11-28 18:57:23 -05:00
parent 3ef6475121
commit 7db82b3bb1

View File

@ -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);
}