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
/
indexutil.cpp
diff --git
a/src/gromacs/selection/indexutil.cpp
b/src/gromacs/selection/indexutil.cpp
index fcfe0b8f0a0b1add1e9a6be374f34875788c6e2d..b2f5b053bff5b2a63f0e428e1329b5701df88556 100644
(file)
--- a/
src/gromacs/selection/indexutil.cpp
+++ b/
src/gromacs/selection/indexutil.cpp
@@
-268,7
+268,7
@@
gmx_ana_indexgrps_print(FILE *fp, gmx_ana_indexgrps_t *g, int maxn)
{
for (int i = 0; i < g->nr; ++i)
{
- fprintf(fp, " Group %2d \"%s\" ", i
+ 1
, g->names[i].c_str());
+ fprintf(fp, " Group %2d \"%s\" ", i, g->names[i].c_str());
gmx_ana_index_dump(fp, &g->g[i], maxn);
}
}