Merge topic 'fix-warning'
ef7b89920 Fix type conversion warning in ContourTreeApp example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1956
This commit is contained in:
commit
90890ae802
@ -450,7 +450,7 @@ int main(int argc, char* argv[])
|
||||
// Compute the number of vertices, i.e., xdim * ydim * zdim
|
||||
unsigned short nDims = static_cast<unsigned short>(dims.size());
|
||||
std::size_t nVertices = static_cast<std::size_t>(
|
||||
std::accumulate(dims.begin(), dims.end(), 1, std::multiplies<std::size_t>()));
|
||||
std::accumulate(dims.begin(), dims.end(), std::size_t(1), std::multiplies<std::size_t>()));
|
||||
|
||||
// Print the mesh metadata
|
||||
if (rank == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user