]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/tracking-ca/AliHLTTPCCAGrid.cxx
bug fix: reconstruction crash when the output buffer size exceed
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAGrid.cxx
index eacbaab4c91c7465c0293e05255dca016353b5a1..501f10aab35feb0995eee5ce864e42b76df9f4de 100644 (file)
@@ -30,6 +30,7 @@
 
 GPUd() void AliHLTTPCCAGrid::CreateEmpty()
 {
+  //Create an empty grid
   fYMin = 0.f;
   fYMax = 1.f;
   fZMin = 0.f;
@@ -87,7 +88,7 @@ int AliHLTTPCCAGrid::GetBinBounded( float Y, float Z ) const
   return bin;
 }
 
-GPUd() void AliHLTTPCCAGrid::GetBin( float Y, float Z, int *bY, int *bZ ) const
+GPUd() void AliHLTTPCCAGrid::GetBin( float Y, float Z, int* const bY, int* const bZ ) const
 {
   //* get the bin pointer