Zero division error

Bug #1933622 reported by Ridhauddinsabri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MadDM
Invalid
Undecided
Unassigned

Bug Description

Hi,

When I ran this commands:

import model MUED_UFO
define darkmatter a1
generate relic_density / bsm
add indirect_detection e- e+
output KKDM1
launch KKDM1
indirect=flux_source
set sigmav_method=madevent
set precise
set r scan:[1/(x*100) for x in range (2)]
set lr scan:[x*10 for x in range (1,21)]
set save_output all
set vave_indirect 1e-02
set nevents 50000

The output that I got is:
"launch KKDM1" with error:
ZeroDivisionError : division by zero

Can you help me.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote : Re: [Bug 1933622] [NEW] Zero division error

Your scan include a division by zero ... this can not work

>>> [1/(x*100) for x in range (2)]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Cheers,

Olivier

> On 25 Jun 2021, at 09:48, Ridhauddinsabri <email address hidden> wrote:
>
> [1/(x*100) for x in range (2)]

Changed in maddm:
status: New → Invalid
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.