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
Clang-tidy: enable further tests
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_clustsize.cpp
diff --git
a/src/gromacs/gmxana/gmx_clustsize.cpp
b/src/gromacs/gmxana/gmx_clustsize.cpp
index 3a81b9b7362b7c5cc2b9e672ea9e3c17666aafe8..5cfacb743e556563aa67d941963558b239279ab9 100644
(file)
--- a/
src/gromacs/gmxana/gmx_clustsize.cpp
+++ b/
src/gromacs/gmxana/gmx_clustsize.cpp
@@
-442,10
+442,7
@@
static void clust_size(const char *ndx, const char *trx, const char *xpm,
"Size", n_x, max_size, t_x, t_y, cs_dist, 0, cmid, cmax,
rlo, rmid, rhi, &nlevels);
gmx_ffclose(fp);
- if (mtop)
- {
- delete mtop;
- }
+ delete mtop;
sfree(t_x);
sfree(t_y);
for (i = 0; (i < n_x); i++)