Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / pbcutil / pbc_simd.cpp
index d27661821c31bef364b3c831389a7df423b6a365..fa824891a7b514b89b1e444b30dec63defd120d6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -53,7 +53,7 @@ using namespace gmx; // TODO: Remove when this file is moved into gmx namespace
 void set_pbc_simd(const t_pbc gmx_unused* pbc, real gmx_unused* pbc_simd)
 {
 #if GMX_SIMD_HAVE_REAL
-    if (pbc != nullptr && pbc->ePBC != epbcNONE)
+    if (pbc != nullptr && pbc->pbcType != PbcType::No)
     {
         rvec inv_box_diag = { 0, 0, 0 };