Skip to content

Commit 46ce0c5

Browse files
authored
Fix bug in sst-info filtering (#1195)
* Fix bug in sst-info filtering
1 parent 6556841 commit 46ce0c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sst/core/sstinfo.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,7 @@ SSTLibraryInfo::outputHumanReadable(std::ostream& os, bool printAll)
10261026
// called out (this will be the case if printAll is
10271027
// false, but shouldPrintElement() is true)
10281028
bool is_alias = (pair.second->getAlias() == pair.first);
1029-
bool print = (!is_alias && printAll) ||
1030-
(is_alias && !printAll && shouldPrintElement(getLibraryName(), pair.first));
1029+
bool print = (!is_alias && printAll) || (!printAll && shouldPrintElement(getLibraryName(), pair.first));
10311030

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

0 commit comments

Comments
 (0)