Fix type conversion warning in ContourTreeApp example

This commit is contained in:
Kenneth Moreland 2020-02-10 16:31:00 -07:00
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)