biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readability-implicit-bool-conversion 1/2
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdtypes
/
inputrec.h
diff --git
a/src/gromacs/mdtypes/inputrec.h
b/src/gromacs/mdtypes/inputrec.h
index 9183e3c167a09d185786f52f7482ef7db9c945fa..56eb94bfdf4a9990cb047249676889f34f4f3025 100644
(file)
--- a/
src/gromacs/mdtypes/inputrec.h
+++ b/
src/gromacs/mdtypes/inputrec.h
@@
-400,7
+400,7
@@
struct t_inputrec // NOLINT (clang-analyzer-optin.performance.Padding)
//! Type of periodic boundary conditions
int ePBC;
//! Periodic molecules
-
int
bPeriodicMols;
+
bool
bPeriodicMols;
//! Continuation run: starting state is correct (ie. constrained)
gmx_bool bContinuation;
//! Temperature coupling