From f5add950834eda00c1b22e1b50e3330a28003ea0 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 7 Apr 2022 06:08:54 -0400 Subject: [PATCH] fix syntax error --- unittest/python/python-formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/python/python-formats.py b/unittest/python/python-formats.py index ac0f2ec6ed..c3dc6d52dc 100644 --- a/unittest/python/python-formats.py +++ b/unittest/python/python-formats.py @@ -122,7 +122,7 @@ try: if 'LAMMPS_MACHINE_NAME' in os.environ: machine=os.environ['LAMMPS_MACHINE_NAME'] lmp=lammps(name=machine) - has_dump_yaml = lmp.has_style("atom","full") && lmp.has_style("dump", "yaml") + has_dump_yaml = lmp.has_style("atom","full") and lmp.has_style("dump", "yaml") lmp.close() except: pass