You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function collection.interaction = pp.make_interaction(cross, True) seems to be an infinite loop for v_cut = 0.01. In my case, v_cut = 0.05 worked totally fine. This was also tested for three different energy cuts.
I have tested this with the following script example:
It looks likes this happens because PROPOSAL tries to print out too many logging warnings at once (due to dNdx becoming negative at specific points), which somehow breaks python...
I've never seen such a problem before. The "quick fix" solution would be to just suppress these messages by using
pp.logging.set_loglevel(pp.logging.loglevel.off).
You may also just put this command before you invoke make_interaction, and directly restore the default by calling
The function
collection.interaction = pp.make_interaction(cross, True)
seems to be an infinite loop forv_cut = 0.01
. In my case,v_cut = 0.05
worked totally fine. This was also tested for three different energy cuts.I have tested this with the following script example:
The text was updated successfully, but these errors were encountered: