Dear developers,
I am simulating protons with a target using ParticleInelasticXS cross section. My problem is that Geant4.11.0.0 samples the cross section values step-by-step correctly. However, Geant4.11.2.2 sample the cross section only once when the particle enters the target.
_Geant4 Version:_11.2.2
_Operating System:_Fedora Linux
_Compiler/Version:_gcc_11.4.1
_CMake Version:_3.26.5