fix out-of-bounds initialization for cvatom array

This commit is contained in:
Axel Kohlmeyer
2025-06-17 17:02:00 -04:00
parent 07c91f396e
commit e01640c4f5
3 changed files with 0 additions and 3 deletions

View File

@ -185,7 +185,6 @@ void Angle::ev_setup(int eflag, int vflag, int alloc)
cvatom[i][6] = 0.0;
cvatom[i][7] = 0.0;
cvatom[i][8] = 0.0;
cvatom[i][9] = 0.0;
}
}
}

View File

@ -184,7 +184,6 @@ void Dihedral::ev_setup(int eflag, int vflag, int alloc)
cvatom[i][6] = 0.0;
cvatom[i][7] = 0.0;
cvatom[i][8] = 0.0;
cvatom[i][9] = 0.0;
}
}
}

View File

@ -184,7 +184,6 @@ void Improper::ev_setup(int eflag, int vflag, int alloc)
cvatom[i][6] = 0.0;
cvatom[i][7] = 0.0;
cvatom[i][8] = 0.0;
cvatom[i][9] = 0.0;
}
}
}