Skip to content

Commit c07ac3c

Browse files
author
Michael P Schroeder
committed
fix: binary data event function
1 parent 0aa5b63 commit c07ac3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.gitools.heatmap/src/main/java/org/gitools/heatmap/decorator/impl/BinaryDecorator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public NonEventToNullFunction getDefaultEventFunction() {
156156
public Double apply(Double value, IMatrixPosition position) {
157157
this.position = position;
158158
boolean satisfies = value != null && CutoffCmp.getFromName(getColorScale().getComparator()).compare(value, getColorScale().getCutoff());
159-
return satisfies ? null : 1.0;
159+
return satisfies ? 1.0 : null;
160160
}
161161

162162
@Override

0 commit comments

Comments
 (0)