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:
Kenneth Moreland 2020-02-17 15:22:16 +00:00 committed by Kitware Robot
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)