Skip to content
Snippets Groups Projects

LHCbMath:

Merged Vanya Belyaev requested to merge vanya-lhcbmath-v60 into 2018-patches
3 files
+ 13
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -258,9 +258,9 @@ bool Gaudi::Math::Positive::updateBernstein ()
//
// get the parameters of "global" parabola
//
const double a0 = m_sphere.x2 ( 0 ) ;
const double a1_ = m_sphere.x2 ( 1 ) ;
const double a2 = m_sphere.x2 ( 2 ) ;
const double a0 = m_sphere.x2 ( 0 ) ;
const double a1_ = 2 * m_sphere.x2 ( 1 ) ; // NB: note factor 2 here!
const double a2 = m_sphere.x2 ( 2 ) ;
//
const double a1_min = - std::sqrt ( a0 * a2 ) ; //
const double a1 = a1_min + a1_ ; // positivity constraint
Loading