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-5-0 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
selection
/
params.cpp
diff --git
a/src/gromacs/selection/params.cpp
b/src/gromacs/selection/params.cpp
index d4806d71eb57b5522550e2dab58a6388c17b5f53..bf387200f1dab898b3bd8896aacf1e60059d240a 100644
(file)
--- a/
src/gromacs/selection/params.cpp
+++ b/
src/gromacs/selection/params.cpp
@@
-396,7
+396,7
@@
parse_values_range(const SelectionParserValueList &values,
qsort(rdata, n, 2*sizeof(real), &cmp_real_range);
for (i = j = 2; i < 2*n; i += 2)
{
- if (rdata[j-1]
+1
>= rdata[i])
+ if (rdata[j-1] >= rdata[i])
{
if (rdata[i+1] > rdata[j-1])
{