1. Eduard-Cristian Stefan
  2. hgactivity

Commits

Thomas Capricelli  committed 946463c

fixes a bug introduced in previous commit, the data 'value' was dimisssed
fixes #789

  • Participants
  • Parent commits b5320f3
  • Branches default

Comments (0)

Files changed (1)

File activity/draw.py

View file
         for a in range(wmin,wmax):
             delta = mydates[a]-date
             deltasec= delta.days*24*3600 + delta.seconds
-            value += phi(float(deltasec)/wperiodsec)
+            value += phi(float(deltasec)/wperiodsec) * data[mydates[a]]
         values.append(value)
         dates.append(date)
     return dates, values