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 'master' into pygromacs
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
inputrec.cpp
diff --git
a/src/gromacs/gmxlib/inputrec.cpp
b/src/gromacs/gmxlib/inputrec.cpp
index cf642041c354f4552a2556fee1dfdbc0cfd8d7e8..d30f41f08cfd335c9cc4548006d8e4c91b3e2bb5 100644
(file)
--- a/
src/gromacs/gmxlib/inputrec.cpp
+++ b/
src/gromacs/gmxlib/inputrec.cpp
@@
-182,7
+182,7
@@
int ir_optimal_nstpcouple(const t_inputrec *ir)
}
else
{
- n =
(int)
(ir->tau_p/(ir->delta_t*nmin) + 0.001);
+ n =
static_cast<int>
(ir->tau_p/(ir->delta_t*nmin) + 0.001);
if (n < 1)
{
n = 1;