Skip to content

Commit

Permalink
fix-7?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 19, 2024
1 parent 096e176 commit d5d2eda
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ostap/math/tests/test_math_carlson.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def myfun ( x ) : return abs ( Ostap.Math.sn ( x , m ) - math.sin ( Ostap.Math.a
# @see Ostap::Math::sn
# @see Ostap::Math::cn
def test_elliptic_sn_cn () :
""" Test elliptic functions \ sn^2+cn^2==1
""" Test elliptic functions sn^2+cn^2==1
- see Ostap.Math.sn
- see Ostap.Math.cn
"""
Expand Down
4 changes: 2 additions & 2 deletions source/include/Ostap/Misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ namespace Ostap
/** call for TVirtualPad::Update
* @see TVirtualPad::Update
*/
void pad_update ( TVirtualPad* pad = nullptr ) ;
TVirtualPad* pad_update ( TVirtualPad* pad = nullptr ) ;
// ========================================================================
/** call for TVirtualPad::UpdateAsync
* @see TVirtualPad::Update
* @see TVirtualPad::UpdateAsync
*/
void pad_update_async ( TVirtualPad* pad = nullptr ) ;
TVirtualPad* pad_update_async ( TVirtualPad* pad = nullptr ) ;
// ========================================================================
} // The end of namespace Ostap::Utils
// ==========================================================================
Expand Down
7 changes: 4 additions & 3 deletions source/src/Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ TVirtualPad* Ostap::Utils::get_pad ()
* @see TVirtualPad::Update
*/
// ============================================================================
void Ostap::Utils::pad_update ( TVirtualPad* pad )
TVirtualPad* Ostap::Utils::pad_update ( TVirtualPad* pad )
{
if ( nullptr == pad ) { pad = get_pad () ; }
// call for Update
// if ( nullptr != pad ) { pad -> Update () ; }
//
return pad ;
}
// ============================================================================
/* call for TVirtualPad::UpdateAsync
* @see TVirtualPad::UpdateAsync
*/
// ============================================================================
void Ostap::Utils::pad_update_async ( TVirtualPad* pad )
TVirtualPad* Ostap::Utils::pad_update_async ( TVirtualPad* pad )
{
if ( nullptr == pad ) { pad = get_pad () ; }
// call for Update
Expand All @@ -57,6 +57,7 @@ void Ostap::Utils::pad_update_async ( TVirtualPad* pad )
#endif
}
//
return pad ;
}
// ============================================================================

Expand Down

0 comments on commit d5d2eda

Please sign in to comment.