From d60a247138fe0cfb4f7ac9ed6a3d428fbcbd8512 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 19 Apr 2021 08:44:46 -0400 Subject: [PATCH] fix typo --- src/pair_hybrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pair_hybrid.cpp b/src/pair_hybrid.cpp index b67f98a726..002429e7b3 100644 --- a/src/pair_hybrid.cpp +++ b/src/pair_hybrid.cpp @@ -551,7 +551,7 @@ void PairHybrid::init_style() // same style must not be used multiple times for (istyle = 0; istyle < nstyles; istyle++) { - bool is_gpu = (((PairHybrid *)styles[m])->suffix_flag & Suffix::GPU); + bool is_gpu = (((PairHybrid *)styles[istyle])->suffix_flag & Suffix::GPU); if (multiple[istyle] && is_gpu) error->all(FLERR,"GPU package styles must not be used multiple times"); }