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
Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git]
/
src
/
gromacs
/
topology
/
block.h
diff --git
a/src/gromacs/topology/block.h
b/src/gromacs/topology/block.h
index 68a99a6b807ed36fc44f44795907d0e629046065..f047f6680946b765bd9a1f5b9b3e69e10fa53207 100644
(file)
--- a/
src/gromacs/topology/block.h
+++ b/
src/gromacs/topology/block.h
@@
-117,7
+117,7
@@
class RangePartitioning
/*! \brief Returns the number of blocks */
int numBlocks() const
{
- return
index_.size() - 1
;
+ return
static_cast<int>(index_.size() - 1)
;
}
/*! \brief Returns the size of the block with index \p blockIndex */