Problems with genHe

Bug #598316 reported by Andrés Pérez-Figueroa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
newAge
Fix Committed
High
Tiago Antao

Bug Description

When running the attached config it crashes at the end of the first replicate:

rror! Problems with genHe(2)
(<type 'exceptions.ZeroDivisionError'>, ZeroDivisionError('float division',), <traceback object at 0xa711c34>)
Traceback (most recent call last):
  File "/home/andres/tasks/NewAge/soft/src/NewAge/UI/wxUI.py", line 266, in __simulate
    self.report.postProcess(evolution.sim, repli)
  File "/home/andres/tasks/NewAge/soft/src/NewAge/Sim/Report.py", line 104, in postProcess
    self.globalK[replicate] = stats.mean(myVkmale)
  File "/home/andres/tasks/NewAge/statlib-1.1/statlib/stats.py", line 288, in __call__
    return apply(self._dispatch[type(arg1)], (arg1,) + args, kw)
  File "/home/andres/tasks/NewAge/statlib-1.1/statlib/stats.py", line 337, in lmean
    return sum/float(len(inlist))
ZeroDivisionError: float division

Revision history for this message
Andrés Pérez-Figueroa (andres-perez-figueroa) wrote :
Tiago Antao (tiagoantao)
Changed in newage:
importance: Undecided → High
assignee: nobody → Tiago Antao (tiagoantao)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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