Boost logo

Boost Users :

Subject: [Boost-users] boost::math::cyl_bessel_j_zero: few NaN
From: campagne (campagne_at_[hidden])
Date: 2015-11-02 09:10:09


double order = (double)lcur + 0.5;
unsigned int n_zeros;
vector<double> zeros;
boost::math::cyl_bessel_j_zero(order,1,n_zeros, back_inserter(zeros));

I'am running Boost 1.59 on Mac OS X Maverick

for lcur = 0, I expect zeros filed with Pi, 2 Pi, 3Pi.... but the first
two zeros I get NaN
I get also other nan as for the 2nd zeros for lcur=1

Have you experienced such problem or I have a memory leak somewhere ?

Thanks
JE


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net