mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Fix compile error due to incorrect type.
This commit is contained in:
parent
e9d5b2b06a
commit
ef3f0221b6
@ -114,7 +114,7 @@ inline vtkm::Id3 ComputeNumberOfBlocksPerAxis(vtkm::Id3 globalSize, vtkm::Id num
|
||||
// DEBUG: std::cout << "splitsPerAxis: " << splitsPerAxis;
|
||||
vtkm::Id3 blocksPerAxis;
|
||||
for (vtkm::IdComponent d = 0; d < 3; ++d)
|
||||
blocksPerAxis[d] = 1 << splitsPerAxis[d];
|
||||
blocksPerAxis[d] = vtkm::Id{ 1 } << splitsPerAxis[d];
|
||||
// DEBUG: std::cout << " blocksPerAxis: " << blocksPerAxis << std::endl;
|
||||
return blocksPerAxis;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user