Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-532

fisher f quantile with NaN as df2 should return NaN, but it raises internal error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Below fisher f quantile function call should return 'NaN' but it raises internal error:

      SELECT madlib.fisher_f_quantile(                 
                      '0.5'::double precision,    --p  
                      '1'::double precision,    --df1  
                      'NaN'::double precision    --df2 
                  );
      ERROR:  Function "fisher_f_quantile(double precision,double precision,double precision)": *p_derivative >= 0 (UDF_impl.hpp:106)
      DETAIL:  
      Details (for developers): 
      Failed BOOST_ASSERT: A run-time error occured.
      Function: T boost::math::detail::ibeta_series(T, T, T, T, const L&, bool, T*, T, const Policy&) [with T = long double, L = boost::math::lanczos::lanczos17m64, Policy = boost::math::policies::policy<boost::math::policies::domain_error<user_error>, boost::math::policies::overflow_error<ignore_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>]
      File: /data/espine1/pulse-data/agents/agent1/work/MADlib/rhel5_x86_64/build/third_party/src/EP_boost/boost/math/special_functions/beta.hpp:493
      

      Attachments

        Activity

          People

            huor Ruilong Huo
            huor Ruilong Huo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: