Greg Stark <[email protected]> writes:
> On Tue, May 31, 2011 at 2:54 PM, Tom Lane <[email protected]> wrote:
>> Prevent problems by clamping negative penalty values to
>> zero. (Just to be really sure, I also made it force NaNs to zero.)
> Do gistchoose et al expect the triangle function to obey the triangle
> inequality?
Don't think so.
> If so isn't it possible treating NaNs as zero would fail
> that? I'm not sure there's any safe assumption for NaN
Well, leaving it as NaN is almost certain to not work desirably.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers