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 branch 'origin/release-2020' into merge-2020-into-2021
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
mdebin_bar.cpp
diff --git
a/src/gromacs/mdlib/mdebin_bar.cpp
b/src/gromacs/mdlib/mdebin_bar.cpp
index 4589a85683fa4177f7c215ad53196b6ee0379128..bed78d90c1699df9169929577556099483e8e246 100644
(file)
--- a/
src/gromacs/mdlib/mdebin_bar.cpp
+++ b/
src/gromacs/mdlib/mdebin_bar.cpp
@@
-759,12
+759,5
@@
void mde_delta_h_coll_restore_energyhistory(t_mde_delta_h_coll* dhc, const delta
{
dhc->start_lambda = deltaH->start_lambda;
}
- if (dhc->dh[0].ndh > 0)
- {
- dhc->start_time_set = TRUE;
- }
- else
- {
- dhc->start_time_set = FALSE;
- }
+ dhc->start_time_set = (dhc->dh[0].ndh > 0);
}