another windows fix
parent
70f1d4a804
commit
98444aba3e
|
@ -13,7 +13,8 @@
|
||||||
* @file ChiSquaredInverse.h
|
* @file ChiSquaredInverse.h
|
||||||
* @brief Implementation of the Chi Squared inverse function.
|
* @brief Implementation of the Chi Squared inverse function.
|
||||||
*
|
*
|
||||||
* Uses the cephes 3rd party library to help with gamma inverse functions.
|
* Uses the cephes 3rd party library to help with
|
||||||
|
* incomplete gamma inverse functions.
|
||||||
*
|
*
|
||||||
* @author Varun Agrawal
|
* @author Varun Agrawal
|
||||||
*/
|
*/
|
||||||
|
@ -41,9 +42,8 @@ namespace internal {
|
||||||
* @param alpha Quantile value
|
* @param alpha Quantile value
|
||||||
* @return double
|
* @return double
|
||||||
*/
|
*/
|
||||||
double GTSAM_EXPORT chi_squared_quantile(const double dofs,
|
double chi_squared_quantile(const double dofs, const double alpha) {
|
||||||
const double alpha) {
|
return 2 * igami(dofs / 2, alpha);
|
||||||
return 2 * cephes_igami(dofs / 2, alpha);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace internal
|
} // namespace internal
|
||||||
|
|
Loading…
Reference in New Issue