Commit 8d323852 authored by Dan Lipsa's avatar Dan Lipsa Committed by Code Review
Browse files

Merge topic 'StructuredData-GetLinearIndex' into master

a9db3e2e fix bug14192: ProbeFilter can't probe an Image with more than 2^31 cells
parents 3c2603db a9db3e2e
......@@ -257,7 +257,7 @@ protected:
static vtkIdType GetLinearIndex(
const int i, const int j, const int k, const int N1, const int N2 )
return( (k*N2+j)*N1+i );
return( (static_cast<vtkIdType>(k)*N2+j)*N1+i );
// Description:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment