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
Fix part of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
domdec
/
domdec_box.cpp
diff --git
a/src/gromacs/domdec/domdec_box.cpp
b/src/gromacs/domdec/domdec_box.cpp
index 96240bdd313ca9375124d1810e00e5a42a915b4b..ebd4de8d1b8f10ecb1120e2d42b0f7a03bd29f26 100644
(file)
--- a/
src/gromacs/domdec/domdec_box.cpp
+++ b/
src/gromacs/domdec/domdec_box.cpp
@@
-103,7
+103,7
@@
static void calc_pos_av_stddev(int n, const rvec *x,
s1[d] = receiveBuffer[d];
s2[d] = receiveBuffer[DIM + d];
}
- n =
(int)
(receiveBuffer[6] + 0.5);
+ n =
static_cast<int>
(receiveBuffer[6] + 0.5);
}
#else // GMX_MPI
GMX_UNUSED_VALUE(mpiCommunicator);