Skip to content

Commit

Permalink
fix bug which unfortunately removes benefit of optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Dec 12, 2016
1 parent 2c56288 commit fd832be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treemap/split.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function(parent, x0, y0, x1, y1) {
}

list2 = nodes.slice(i);
w2 = w1 - sum;
w2 = sum - w1;

if (width > height) {
r1x0 = x0;
Expand Down

0 comments on commit fd832be

Please sign in to comment.