Skip to content

Commit

Permalink
Fix smtinterpol interpolation (#253) (#261)
Browse files Browse the repository at this point in the history
* Map -> IdentitityMap

* Version bump
  • Loading branch information
leventeBajczi authored Mar 20, 2024
1 parent f9c8a2c commit 9b95f07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ buildscript {

allprojects {
group = "hu.bme.mit.theta"
version = "5.0.5"
version = "5.0.6"

apply(from = rootDir.resolve("gradle/shared-with-buildSrc/mirrors.gradle.kts"))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.IdentityHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
Expand All @@ -57,7 +58,7 @@

public final class SMTInterpolSmtLibItpSolver extends SmtLibItpSolver<SMTInterpolSmtLibItpMarker> {

private final Map<Expr<BoolType>, String> assertionNames = new HashMap<>();
private final Map<Expr<BoolType>, String> assertionNames = new IdentityHashMap<>();
private static final String assertionNamePattern = "_smtinterpol_assertion_%d";
private static long assertionCount = 0;

Expand Down

0 comments on commit 9b95f07

Please sign in to comment.