Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Division by zero in renderAlignments #4

Merged
merged 1 commit into from
May 29, 2012
Merged

Division by zero in renderAlignments #4

merged 1 commit into from
May 29, 2012

Conversation

bpow
Copy link
Contributor

@bpow bpow commented May 29, 2012

renderAlignments of AlignmentTrack can throw an exception for division by zero if the depth in a region is 0. This commit checks for depth == 0 before dividing and gives a sensible alternative.

jsilter added a commit that referenced this pull request May 29, 2012
Division by zero in renderAlignments
@jsilter jsilter merged commit 8ad47f8 into igvteam:master May 29, 2012
@jsilter
Copy link
Contributor

jsilter commented May 29, 2012

Thanks

jsilter pushed a commit that referenced this pull request Dec 19, 2013
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants