]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Improvements in algorithms to make the code faster
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Dec 2000 09:36:46 +0000 (09:36 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Dec 2000 09:36:46 +0000 (09:36 +0000)
CONTAINERS/AliDigits.cxx

index c4975916993c48602a2aca99d41435563e5392ed..f06261206be8fd53d657fdc4e0580f2311849dd2 100644 (file)
@@ -16,6 +16,9 @@
 /*
 
 $Log$
+Revision 1.1  2000/11/01 15:57:13  kowal2
+Moved from the TPC directory
+
 Revision 1.4  2000/10/05 16:01:49  kowal2
 Corrected for memory leaks.
 
@@ -350,6 +353,7 @@ void AliDigits::ExpandBuffer1()
   Int_t i,k;
   fNelems = fNrows*fNcols;
   Short_t * buf = new Short_t[fNelems];
+  memset(buf,0,fNelems*sizeof(Short_t)); //MI change - 4.12.2000
   fIndex->Set(fNcols);
   for (i =0,k=0 ;i<fNcols;i++,k+=fNrows) (*fIndex)[i]=k;
   Int_t col=0;