Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Saut committed May 16, 2013
1 parent 0895f72 commit 93b4a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ be distributed on the available cores.
fn partial_sum(start: uint) -> f64 {
let mut local_sum = 0f64;
for uint::range(start*100000, (start+1)*100000) |num| {
local_sum += (num as f64 + 1).pow(-2.0);
local_sum += (num as f64 + 1.0).pow(-2.0);
}
local_sum
}
Expand Down

0 comments on commit 93b4a57

Please sign in to comment.