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
Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git]
/
src
/
gromacs
/
domdec
/
partition.cpp
diff --git
a/src/gromacs/domdec/partition.cpp
b/src/gromacs/domdec/partition.cpp
index b05843ae5b42a788230b2c81e40c222a8ab47698..e36f49cf45c1702b79533a009cdc5d1ce87f011a 100644
(file)
--- a/
src/gromacs/domdec/partition.cpp
+++ b/
src/gromacs/domdec/partition.cpp
@@
-2460,8
+2460,7
@@
static void set_zones_size(gmx_domdec_t *dd,
corner[d] -= corner[ZZ]*box[ZZ][d]/box[ZZ][ZZ];
}
/* Apply the triclinic couplings */
- assert(ddbox->npbcdim <= DIM);
- for (i = YY; i < ddbox->npbcdim; i++)
+ for (i = YY; i < ddbox->npbcdim && i < DIM; i++)
{
for (j = XX; j < i; j++)
{