Skip to content

Commit 28c811a

Browse files
committed
[MINOR] Add compressed statistics if decompressing
Because we now support reading compressed data, then we can use compressed matrices even if we do not enable CLA. Therefore to see the statistics of compression in such cases we print compression statistics if we ever decompress. Signed-off-by: Sebastian Baunsgaard <[email protected]>
1 parent 96fd5da commit 28c811a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/sysds/utils/Statistics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ public static String display(int maxHeavyHitters)
11021102

11031103
sb.append(TransformStatistics.displayStatistics());
11041104

1105-
if(ConfigurationManager.isCompressionEnabled()){
1105+
if(ConfigurationManager.isCompressionEnabled() || DMLCompressionStatistics.getDecompressionCount() > 0){
11061106
DMLCompressionStatistics.display(sb);
11071107
}
11081108

0 commit comments

Comments
 (0)