Skip to content

Commit

Permalink
android fold tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hamblen committed Apr 13, 2010
1 parent 0dee2e8 commit 62d90ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class Fold extends PApplet {
case (Nil, (x1, h1)) => (x1, h1) :: Nil
case ((x2, h2) :: t, (x1, h1)) =>
(x1, (h1 + h2) /2) :: (x2, h2) :: t
}
} reverse
}
}

0 comments on commit 62d90ea

Please sign in to comment.