madlib/madlib — pull request #168 by fschopp (2012-06-08 00:42:28+00:00)
Title: Probability functions: Improved handling of invalid arguments

Jira: MADLIB-538, MADLIB-541, MADLIB-542, MADLIB-543, MADLIB-548

Fixes:
- Chi-Squared GOF test: return NULL for p-values if d.f. <= 0 instead of raising an error (MADLIB-538)
- "parameter x is not accepting 0 in pareto cdf and pdf" (MADLIB-541)
- "parameter x is not accepting positive and negative infinities in triangular/uniform cdf/pdf" (MADLIB-542)
- "parameter x is not accepting 0 in pareto cdf and pdf" (MADLIB-541)
- "fisher f quantile with NaN as df2 should return NaN, but it raises internal error" (MADLIB-543)
- "rayleigh cdf/pdf are accepting positive infinity as their parameter scale while they should not" (MADLIB-548)