venn.js icon indicating copy to clipboard operation
venn.js copied to clipboard

Rounding error and exception thrown

Open jonnyrobbie opened this issue 6 years ago • 1 comments

If your json data contains size elements, which are expressed as an array of length one, sometimes the algorithm throws an exception when it expected zero, but got extremely small, but non-zero value.

Reproducible json is attached. test2.json.zip

jonnyrobbie avatar Jan 09 '19 09:01 jonnyrobbie

I have created a pull request for this issue #132

jonnyrobbie avatar Jan 09 '19 10:01 jonnyrobbie