Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
clmould authored Nov 24, 2023
1 parent 1908eb3 commit 23f6700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inflammation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def s_dev(data):
mean_data = daily_mean(data)
devs = []
for entry in data:
devs.append((entry - mmm) * (entry - mmm))
devs.append((entry - mean_data) * (entry - mean_data))

s_dev2 = sum(devs) / len(data)
return {'standard deviation': s_dev2}
Expand Down

0 comments on commit 23f6700

Please sign in to comment.