tudo-astroparticlephysics / PROPOSAL

Monte Carlo Simulation propagating charged Leptons through Media as C++ Library
GNU Lesser General Public License v3.0
35 stars 21 forks source link

Call to proposal.photoproduction.PhotonNucleonCrossSection crashes #351

Closed Jean1995 closed 1 year ago

Jean1995 commented 1 year ago

Calling PhotoNucleonCrossSection within proposal crashes. I've encountered this behaviour on M1 MacOS.

This is probably a problem with the pybindings.

Example:

rhode = pp.parametrization.photoproduction.Rhode()
rhode.PhotonNucleonCrossSection(1e3, pp.component.Nitrogen())
Jean1995 commented 1 year ago

I can reproduce this on arch linux as well.

Apparently, all photoproduction parametrizations but the Zeus parametrization are affected.