diff --git a/src/atlas/interpolation/method/sphericalvector/SphericalVector.cc b/src/atlas/interpolation/method/sphericalvector/SphericalVector.cc index 1aeab59d9..b4692d791 100644 --- a/src/atlas/interpolation/method/sphericalvector/SphericalVector.cc +++ b/src/atlas/interpolation/method/sphericalvector/SphericalVector.cc @@ -57,8 +57,8 @@ RealMatrixMap makeMatrixMap(const EckitMatrix& baseMatrix) { baseMatrix.inner(), baseMatrix.data()); } -template -auto getInnerIt(const Matrix& matrix, int k) { +template +auto getInnerIt(const Matrix& matrix, Index k) { return typename Matrix::InnerIterator(matrix, k); }