Skip to content

Layout.pie: Division by zero when sum(values) is 0 - #2420

Closed
patriciaborges wants to merge 1 commit into
d3:masterfrom
patriciaborges:bugfix-layout-pie-total-0-percent
Closed

patriciaborges wants to merge 1 commit into
d3:masterfrom
patriciaborges:bugfix-layout-pie-total-0-percent

Conversation

@patriciaborges

Copy link
Copy Markdown
Contributor

When d3.sum(values) == 0, k should be 0

@mbostock mbostock mentioned this pull request Oct 21, 2015
@mbostock mbostock added the bug Something isn’t working label Oct 21, 2015
@mbostock mbostock added this to the 3.5.x milestone Oct 21, 2015
@mbostock mbostock modified the milestones: 3.5.7, 3.5.x Oct 22, 2015
@mbostock

Copy link
Copy Markdown
Member

Merged into #2591 for 3.5.7.

@mbostock mbostock closed this Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn’t working

Development

Successfully merging this pull request may close these issues.

2 participants