math domain error in MG5_aMC_v2_5_0_beta2

Bug #1629406 reported by Richard Ruiz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadGraph5_aMC@NLO
Fix Released
Undecided
Olivier Mattelaer

Bug Description

Hey Folks,

Unsure if you guys caught this already but I found a small typo in the bin/internal/systematics.py script of MG5_aMC_v2_5_0_beta2 for LO processes. I caught this because I am using a model with massless b:

In Line 205-6, the b mass for the model is checked if nonzero and changes the *charm* by mistake:
            if bmass == 0:
                cmass = 4.7
            self.alpsrunner = Alphas_Runner(asmz, nloop, zmass, cmass, bmass)

Consequently, MG spits out the following output :
systematics.py", line 207, in __init__
    self.alpsrunner = Alphas_Runner(asmz, nloop, zmass, cmass, bmass)
  File "/.../MG5_aMC_v2_5_0_beta2/models/model_reader.py", line 264, in __init__
    t = 2 * math.log(bmass/zmass)
ValueError: math domain error

best,
richard

Changed in mg5amcnlo:
assignee: nobody → Olivier Mattelaer (olivier-mattelaer)
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Thanks a lot.

Olivier

Changed in mg5amcnlo:
status: New → Fix Committed
Changed in mg5amcnlo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.