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-1 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
pulling
/
pull.cpp
diff --git
a/src/gromacs/pulling/pull.cpp
b/src/gromacs/pulling/pull.cpp
index 038a023879e149c0ca6b04720eaaa87f3553a128..754924ac6a14265e9f283b0fee829bd950f9aa5e 100644
(file)
--- a/
src/gromacs/pulling/pull.cpp
+++ b/
src/gromacs/pulling/pull.cpp
@@
-1684,7
+1684,7
@@
init_pull(FILE *fplog, const pull_params_t *pull_params, const t_inputrec *ir,
}
if (pgrp->params.nweight > 0)
{
- snew(pgrp->params.
ind
, pgrp->params.nweight);
+ snew(pgrp->params.
weight
, pgrp->params.nweight);
for (i = 0; i < pgrp->params.nweight; i++)
{
pgrp->params.weight[i] = pull_params->group[g].weight[i];