biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8815c4f
)
Fixing trjconv -sub
author
Mark Abraham
<mark.j.abraham@gmail.com>
Wed, 3 Oct 2012 13:19:32 +0000
(23:19 +1000)
committer
Mark Abraham
<mark.j.abraham@gmail.com>
Sun, 13 Jan 2013 22:47:39 +0000
(23:47 +0100)
The process of making code thread safe broke this.
Change-Id: Ie6617c00e52b09ea0eade2dcb0ae998e8ebf3cc4
src/tools/gmx_trjconv.c
patch
|
blob
|
history
diff --git
a/src/tools/gmx_trjconv.c
b/src/tools/gmx_trjconv.c
index 6b564ddb15dc06bed5d0a38f4f28a8aa50073c85..faa6f45bdbd4665982936af03afba95db91d35f2 100644
(file)
--- a/
src/tools/gmx_trjconv.c
+++ b/
src/tools/gmx_trjconv.c
@@
-1562,7
+1562,7
@@
int gmx_trjconv(int argc,char *argv[])
ffclose(out);
if (bSubTraj) {
for(i=0; (i<clust->clust->nr); i++)
- if (clust_status
[i]
)
+ if (clust_status
_id[i] >= 0
)
close_trx(clust_status[i]);
}
}