apply clang-format

This commit is contained in:
Axel Kohlmeyer
2023-08-04 12:11:59 -04:00
parent 8eb7f56491
commit a6767c85b0
9 changed files with 31 additions and 25 deletions

View File

@ -362,7 +362,7 @@ void Update::new_integrate(char *style, int narg, char **arg, int trysuffix, int
{
if (trysuffix && lmp->suffix_enable) {
if (lmp->non_pair_suffix()) {
sflag = 1 + 2*lmp->pair_only_flag;
sflag = 1 + 2 * lmp->pair_only_flag;
std::string estyle = style + std::string("/") + lmp->non_pair_suffix();
if (integrate_map->find(estyle) != integrate_map->end()) {
IntegrateCreator &integrate_creator = (*integrate_map)[estyle];
@ -428,7 +428,7 @@ void Update::new_minimize(char *style, int /* narg */, char ** /* arg */, int tr
{
if (trysuffix && lmp->suffix_enable) {
if (lmp->non_pair_suffix()) {
sflag = 1 + 2*lmp->pair_only_flag;
sflag = 1 + 2 * lmp->pair_only_flag;
std::string estyle = style + std::string("/") + lmp->non_pair_suffix();
if (minimize_map->find(estyle) != minimize_map->end()) {
MinimizeCreator &minimize_creator = (*minimize_map)[estyle];