Skip to content

Commit 487585a

Browse files
committed
unsafe
1 parent 48135da commit 487585a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/sysds/runtime/frame/data/columns/BitSetArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public synchronized void set(int index, boolean value) {
107107
@Override
108108
public void setNullsFromString(int rl, int ru, Array<String> value) {
109109

110-
final boolean unsafe = ru % 64 != 0 || rl % 64 != 0;
110+
final boolean unsafe = ru % 64 != 63 || rl % 64 != 0;
111111
// ensure that it is safe to modify the values in the ranges.
112112

113113
if(unsafe) {

0 commit comments

Comments
 (0)