]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Workaround for an HP compiler problem
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Apr 2000 06:51:06 +0000 (06:51 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 5 Apr 2000 06:51:06 +0000 (06:51 +0000)
STEER/AliRun.cxx

index 4fe8781a3bc1de6c4c5d10bd84ba97c36a326261..cb8ea21287dc0dfcc917504e46bcd87a10082607 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.27  2000/03/22 18:08:07  fca
+Rationalisation of the virtual MC interfaces
+
 Revision 1.26  2000/03/22 13:42:26  fca
 SetGenerator does not replace an existing generator, ResetGenerator does
 
@@ -1130,7 +1133,9 @@ void AliRun::PurifyKine()
        
        // Old and new are different, have to copy
        partnew = (TParticle *)particles.UncheckedAt(nkeep);
-       *partnew = *part;
+       // Change due to a bug in the HP compiler
+       //      *partnew = *part;
+       memcpy(partnew,part,sizeof(TParticle));
       } else partnew = part;
       
       // as the parent is always *before*, it must be already