silence compiler warning in test programs
This commit is contained in:
@ -288,7 +288,7 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
|
||||
// equilibrium angle
|
||||
std::stringstream eqstr;
|
||||
eqstr << lmp->atom->nangletypes;
|
||||
for (std::size_t i=0; i < lmp->atom->nangletypes; ++i) {
|
||||
for (int i=0; i < lmp->atom->nangletypes; ++i) {
|
||||
eqstr << " " << lmp->force->angle->equilibrium_angle(i+1);
|
||||
}
|
||||
writer.emit("equilibrium", eqstr.str());
|
||||
|
||||
@ -288,7 +288,7 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
|
||||
// equilibrium distance
|
||||
std::stringstream eqstr;
|
||||
eqstr << lmp->atom->nbondtypes;
|
||||
for (std::size_t i=0; i < lmp->atom->nbondtypes; ++i) {
|
||||
for (int i=0; i < lmp->atom->nbondtypes; ++i) {
|
||||
eqstr << " " << lmp->force->bond->equilibrium_distance(i+1);
|
||||
}
|
||||
writer.emit("equilibrium", eqstr.str());
|
||||
|
||||
Reference in New Issue
Block a user