Skip to content

Commit a4089b1

Browse files
committed
#67 Fix JFactory.BddCache.copy.
1 parent d3a2862 commit a4089b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/github/javabdd/JFactory.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,11 @@ private static class BddCache {
10991099
BddCache copy() {
11001100
BddCache that = new BddCache();
11011101
boolean is_d = this.table instanceof BddCacheDataD[];
1102+
boolean is_bi = this.table instanceof BddCacheDataBI[];
11021103
if (is_d) {
11031104
that.table = new BddCacheDataD[this.table.length];
1105+
} else if (is_bi) {
1106+
that.table = new BddCacheDataBI[this.table.length];
11041107
} else {
11051108
that.table = new BddCacheDataI[this.table.length];
11061109
}

0 commit comments

Comments
 (0)