57 double s, st, ost( 0.0 );
58 for ( j = 1; j < 4; j++ ) {
59 st =
trapezoid( lower, higher, j, result );
60 s = ( 4.0 * st - ost ) / 3.0;
65 st =
trapezoid( lower, higher, j, result );
66 s = ( 4.0 * st - ost ) / 3.0;
68 if ( fabs( s - olds ) <
m_precision * fabs( olds ) ||
69 ( s == 0.0 && olds == 0.0 ) )
75 st =
trapezoid( lower, higher, j, result );
76 s = ( 4.0 * st - ost ) / 3.0;
78 if ( fabs( s - olds ) <
m_precision * fabs( olds ) ||
79 ( s == 0.0 && olds == 0.0 ) )
86 <<
"Severe error in EvtItgSimpsonIntegrator. Failed to converge after loop with 2**"
87 <<
m_maxLoop <<
" calls to the integrand in." << endl;