Zero division error
Bug #1933622 reported by
Ridhauddinsabri
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=
set sigmav_
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.
To post a comment you must log in.
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)]