mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Fix type conversion warning in ContourTreeApp example
This commit is contained in:
parent
2123a56ab3
commit
ef7b899208
@ -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