Re: [math] RealVector.isInfinite() mixes in Nan check?

2015-12-26 Thread Gilles
On Sat, 26 Dec 2015 10:21:30 -0600, Ole Ersoy wrote: In RealVector there is an isInfinite() method that checks for isInfinite() and isNan() at the same time. If any coordinate is infinite, it will return true...unless a value is Nan...then it will return false. I'm probably missing

Re: [math] RealVector.isInfinite() mixes in Nan check?

2015-12-26 Thread Ole Ersoy
On 12/26/2015 12:12 PM, Gilles wrote: On Sat, 26 Dec 2015 10:21:30 -0600, Ole Ersoy wrote: In RealVector there is an isInfinite() method that checks for isInfinite() and isNan() at the same time. If any coordinate is infinite, it will return true...unless a value is Nan...then it will return

[math] RealVector.isInfinite() mixes in Nan check?

2015-12-26 Thread Ole Ersoy
In RealVector there is an isInfinite() method that checks for isInfinite() and isNan() at the same time. If any coordinate is infinite, it will return true...unless a value is Nan...then it will return false. I'm probably missing something...but it seems like isInfinite() should return true

Re: [math] RealVector.isInfinite() mixes in Nan check?

2015-12-26 Thread Phil Steitz
On 12/26/15 11:12 AM, Gilles wrote: > On Sat, 26 Dec 2015 10:21:30 -0600, Ole Ersoy wrote: >> In RealVector there is an isInfinite() method that checks for >> isInfinite() and isNan() at the same time. If any coordinate is >> infinite, it will return true...unless a value is Nan...then it will >>

Re: [math] RealVector.isInfinite() mixes in Nan check?

2015-12-26 Thread Ole Ersoy
On 12/26/2015 02:41 PM, Phil Steitz wrote: On 12/26/15 11:12 AM, Gilles wrote: On Sat, 26 Dec 2015 10:21:30 -0600, Ole Ersoy wrote: In RealVector there is an isInfinite() method that checks for isInfinite() and isNan() at the same time. If any coordinate is infinite, it will return