Skip to content

Commit

Permalink
Fix bug in sst-info filtering (#1195)
Browse files Browse the repository at this point in the history
* Fix bug in sst-info filtering
  • Loading branch information
gvoskuilen authored Jan 16, 2025
1 parent 6556841 commit 46ce0c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sst/core/sstinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,7 @@ SSTLibraryInfo::outputHumanReadable(std::ostream& os, bool printAll)
// called out (this will be the case if printAll is
// false, but shouldPrintElement() is true)
bool is_alias = (pair.second->getAlias() == pair.first);
bool print = (!is_alias && printAll) ||
(is_alias && !printAll && shouldPrintElement(getLibraryName(), pair.first));
bool print = (!is_alias && printAll) || (!printAll && shouldPrintElement(getLibraryName(), pair.first));

if ( print ) {
os << " " << BaseType::ELI_baseName() << " " << idx << ": " << pair.first << "\n";
Expand Down

0 comments on commit 46ce0c5

Please sign in to comment.