Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/snoble/d3 into 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Aug 10, 2012
2 parents cded852 + e4181f3 commit ee03eb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion d3.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,7 @@
function d3_svg_lineFiniteDifferences(points) {
var i = 0, j = points.length - 1, m = [], p0 = points[0], p1 = points[1], d = m[0] = d3_svg_lineSlope(p0, p1);
while (++i < j) {
m[i] = d + (d = d3_svg_lineSlope(p0 = p1, p1 = points[i + 1]));
m[i] = (d + (d = d3_svg_lineSlope(p0 = p1, p1 = points[i + 1]))) / 2;
}
m[i] = d;
return m;
Expand Down
Loading

0 comments on commit ee03eb6

Please sign in to comment.