diff --git a/algo/detectors/sts/HitfinderChain.cxx b/algo/detectors/sts/HitfinderChain.cxx index 03d63a89815c727d70c8a0a56ca3aad9935725f3..c96b3f2dca8e11b8c3d098cdff155a09158cadc2 100644 --- a/algo/detectors/sts/HitfinderChain.cxx +++ b/algo/detectors/sts/HitfinderChain.cxx @@ -292,7 +292,7 @@ void sts::HitfinderChain::AllocateStatic() fHitfinder.landauTableSize = nLandauTableEntries; fHitfinder.landauStepSize = fPars->setup.landauTable.stepSize; fHitfinder.landauTable.reset(nLandauTableEntries, xpu::buf_io); - q.copy(fPars->setup.landauTable.values.data(), fHitfinder.landauTable.get(), nLandauTableEntries * sizeof(float)); + q.copy(fPars->setup.landauTable.values.data(), fHitfinder.landauTable.get(), nLandauTableEntries); // Copy transformation matrix fHitfinder.localToGlobalRotationByModule.reset(9 * nModules, xpu::buf_io);