Update clang-tidy to clang version 8
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_nmeig.cpp
index 078598875a53657fb8cd42330632f362742650ff..3a040fe57d8bd59812b024692104f08d173ac953 100644 (file)
@@ -170,7 +170,7 @@ nma_full_hessian(real                    *hess,
     {
         for (int i = 0; i < (end-begin+1); i++)
         {
-            for (int j = 0; j < atom_index.ssize(); j++)
+            for (gmx::index j = 0; j < atom_index.ssize(); j++)
             {
                 size_t aj = atom_index[j];
                 mass_fac = gmx::invsqrt(top->atoms.atom[aj].m);
@@ -236,7 +236,7 @@ nma_sparse_hessian(gmx_sparsematrix_t      *sparse_hessian,
     {
         for (i = 0; i < neig; i++)
         {
-            for (int j = 0; j < atom_index.ssize(); j++)
+            for (gmx::index j = 0; j < atom_index.ssize(); j++)
             {
                 size_t aj = atom_index[j];
                 mass_fac = gmx::invsqrt(top->atoms.atom[aj].m);