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
Merge release-2018 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
awh
/
biasparams.cpp
diff --git
a/src/gromacs/awh/biasparams.cpp
b/src/gromacs/awh/biasparams.cpp
index fe79111c592c5239629d6dab09c2adeb459350bb..5e72ba4f90023d9e12cc34b79fff1dcfbee65c20 100644
(file)
--- a/
src/gromacs/awh/biasparams.cpp
+++ b/
src/gromacs/awh/biasparams.cpp
@@
-201,7
+201,7
@@
double gaussianGeometryFactor(gmx::ArrayRef<const double> xArray)
xScalar *= x;
}
- GMX_ASSERT(
xArray.size() > 0
, "We should have a non-empty input array");
+ GMX_ASSERT(
!xArray.empty()
, "We should have a non-empty input array");
xScalar = std::pow(xScalar, 1.0/xArray.size());
/* Look up zeta(x) */