Re: Line intersection point is wrong

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Line intersection point is wrong
Date: 2016-06-19 20:30:08
Message-ID: CAE2gYzzXG4BW7JoBhMFhgYoQxutkz-1CyDqMp5QPtXdE7BY2ww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> You haven't done anything to exclude the possibility that l1->B is zero,
> so you could be getting zero-divide in the y calculation.

Ah, yes. We can use l2 when l1->B is zero.

I will send another patch on tomorrow addressing other bugs you found.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-06-19 20:42:24 Re: Line intersection point is wrong
Previous Message Tom Lane 2016-06-19 20:16:42 Re: Line intersection point is wrong