Skip to content

Commit

Permalink
fix-9?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 19, 2024
1 parent a678a5f commit ce6a298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions ostap/math/tests/test_math_carlson.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def test_carlson_values ( ) :
##
( 'RF_int' , RF_int , (1,2,0) , 1.3110287771461 ) ,
( 'RF_int' , RF_int , (2,3,4) , 0.58408284167715 ) ,
( 'RF_int' , RF_int , (1,2,4) , 0.6850858166334359 ) , ## extra

( 'RF_int' , RF_int , (1,2,4) , 0.6850858166334359 ) , ## extra
##
( 'RF_gsl' , RF_gsl , (1,2,0) , 1.3110287771461 ) ,
( 'RF_gsl' , RF_gsl , (2,3,4) , 0.58408284167715 ) ,
Expand Down
7 changes: 3 additions & 4 deletions source/src/Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ TVirtualPad* Ostap::Utils::get_pad ()
// ============================================================================
TVirtualPad* Ostap::Utils::pad_update ( TVirtualPad* pad )
{
//
return pad_update_async ( pad ) ;
//
if ( nullptr == pad ) { pad = get_pad () ; }
// call for Update
// if ( nullptr != pad ) { pad -> Update () ; }
if ( nullptr != pad ) { pad -> ModifiedUpdate () ; }
//
return pad ;
}
// ============================================================================
Expand All @@ -49,7 +48,7 @@ TVirtualPad* Ostap::Utils::pad_update ( TVirtualPad* pad )
// ============================================================================
TVirtualPad* Ostap::Utils::pad_update_async ( TVirtualPad* pad )
{
if ( nullptr == pad ) { pad = get_pad () ; }
if ( nullptr == pad ) { pad = get_pad () ; }
// call for Update
if ( nullptr != pad )
{
Expand Down

0 comments on commit ce6a298

Please sign in to comment.