From 9aea4e509e8e80ad30ee6ef00fca43ef2021c39b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 23 Jun 2020 09:50:17 -0400 Subject: [PATCH] Revert "must also reissue hybrid pair style commands after restarts" This reverts commit ddcc104df653b427f042de02ffe6cf9b744451e5. --- unittest/force-styles/pair_style.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unittest/force-styles/pair_style.cpp b/unittest/force-styles/pair_style.cpp index 3bc14746b1..9354ad7f03 100644 --- a/unittest/force-styles/pair_style.cpp +++ b/unittest/force-styles/pair_style.cpp @@ -32,7 +32,6 @@ #include "modify.h" #include "pair.h" #include "universe.h" -#include "utils.h" #include #include @@ -160,8 +159,7 @@ void restart_lammps(LAMMPS *lmp, const TestConfig &cfg) command("clear"); command("read_restart " + cfg.basename + ".restart"); - // need to re-issue pair style with non-restartable and hybrid pair styles - if ((!lmp->force->pair) || (utils::strmatch(cfg.pair_style,"^hybrid"))) { + if (!lmp->force->pair) { command("pair_style " + cfg.pair_style); } if (!lmp->force->pair->restartinfo || !lmp->force->pair->writedata) {