Skip to content

Commit

Permalink
Bugfix: No global variable list defined in THaCut and THaVform.
Browse files Browse the repository at this point in the history
This was a regression introduced with commit d256a36 (9-Nov-23).
Just a silly typo.
  • Loading branch information
hansenjo committed Apr 15, 2024
1 parent a84b6f3 commit ca9cc27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Podd/THaCut.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ THaCut::THaCut( const char* name, const char* expression, const char* block,
// expressions would get reparsed instead of queried. This wouldn't
// work properly with a non-default array evaluation mode (OR/XOR).

if( vlst )
if( !vlst )
vlst = gHaVars;
if( !clst )
clst = gHaCuts;
Expand Down
2 changes: 1 addition & 1 deletion Podd/THaVform.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ THaVform::THaVform( const char *type, const char* name, const char* formula,
fPrefix(kNoPrefix)
{
SetName(name);
if( vlst )
if( !vlst )
vlst = gHaVars;
if( !clst )
clst = gHaCuts;
Expand Down

0 comments on commit ca9cc27

Please sign in to comment.