Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mcharters
Copy link
Contributor

I ran into an issue extracting a page where the clipping algorithm would get put into an infinite loop due to some floating point math (because of an infinitesimal difference in points the region code would flip-flop back and forth between LEFT and BOTTOM and keep on calculating).

In cases where the difference between points is essentially 0 I just inserted 0 in place of the difference.

@jazzido
Copy link
Contributor

jazzido commented Feb 4, 2016

Nice catch, thanks! Have you run the tests after this change?

@mcharters
Copy link
Contributor Author

Yup, all tests pass. What happened to travis?

@jazzido
Copy link
Contributor

jazzido commented Feb 4, 2016

No idea, it should have ran the tests against your PR branch, right?

jazzido added a commit that referenced this pull request Feb 4, 2016
@jazzido jazzido merged commit 51561ed into tabulapdf:master Feb 4, 2016
@mcharters
Copy link
Contributor Author

Yeah, it did last time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants