From ccd33a721e6b45ab2c392293200d02edf7923a7b Mon Sep 17 00:00:00 2001 From: Olexa Bilaniuk Date: Sat, 7 Feb 2015 01:19:40 -0500 Subject: [PATCH] Fixed build failures related to designSPRTTest(). --- modules/calib3d/src/rhorefc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/calib3d/src/rhorefc.cpp b/modules/calib3d/src/rhorefc.cpp index 167accd97c..03ec79ebe5 100644 --- a/modules/calib3d/src/rhorefc.cpp +++ b/modules/calib3d/src/rhorefc.cpp @@ -1192,7 +1192,7 @@ inline void RHO_HEST_REFC::updateSPRT(void){ * m_S: The number of models that are verified per sample. */ -static inline double designSPRTTest(double delta, double epsilon, double t_M, double m_S){ +static inline double sacDesignSPRTTest(double delta, double epsilon, double t_M, double m_S){ double An, C, K, prevAn; unsigned i; @@ -1248,7 +1248,7 @@ static inline double designSPRTTest(double delta, double epsilon, double t_M, do */ inline void RHO_HEST_REFC::designSPRTTest(void){ - eval.A = designSPRTTest(eval.delta, eval.epsilon, eval.t_M, eval.m_S); + eval.A = sacDesignSPRTTest(eval.delta, eval.epsilon, eval.t_M, eval.m_S); eval.lambdaReject = ((1.0 - eval.delta) / (1.0 - eval.epsilon)); eval.lambdaAccept = (( eval.delta ) / ( eval.epsilon )); }