From a0699027f73cead3336f5de2a9a6c38b64c21993 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 3 Jan 2019 22:26:31 -0500 Subject: [PATCH] fix typo --- src/GPU/fix_gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPU/fix_gpu.cpp b/src/GPU/fix_gpu.cpp index fad74dc318..54deede903 100644 --- a/src/GPU/fix_gpu.cpp +++ b/src/GPU/fix_gpu.cpp @@ -246,7 +246,7 @@ void FixGPU::init() if (force->pair_match("^hybrid",0) != NULL) { PairHybrid *hybrid = (PairHybrid *) force->pair; for (int i = 0; i < hybrid->nstyles; i++) - if (utils::strmatch(hybrid->keywords[i],"/gpu$") == NULL) + if (!utils::strmatch(hybrid->keywords[i],"/gpu$")) force->pair->no_virial_fdotr_compute = 1; }