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
Always use mtop constructor
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
tpxio.cpp
diff --git
a/src/gromacs/fileio/tpxio.cpp
b/src/gromacs/fileio/tpxio.cpp
index af3a791a78af88c5a87f1d0e986dd21ca738a69e..4caaff0b27e7644bcc688fead715210a862ac1dd 100644
(file)
--- a/
src/gromacs/fileio/tpxio.cpp
+++ b/
src/gromacs/fileio/tpxio.cpp
@@
-2485,10
+2485,6
@@
static void set_disres_npair(gmx_mtop_t *mtop)
static void do_mtop(t_fileio *fio, gmx_mtop_t *mtop, gmx_bool bRead,
int file_version)
{
- if (bRead)
- {
- init_mtop(mtop);
- }
do_symtab(fio, &(mtop->symtab), bRead);
do_symstr(fio, &(mtop->name), bRead, &(mtop->symtab));