Skip to content

Commit

Permalink
Merge pull request #82 from ftsrg/bitvector-algs
Browse files Browse the repository at this point in the history
Advanced refinement algorithms supporting bitvectors
  • Loading branch information
hajduakos authored Sep 10, 2020
2 parents 9c0395d + 58d62b5 commit 949b632
Show file tree
Hide file tree
Showing 16 changed files with 1,290 additions and 27 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

allprojects {
group = "hu.bme.mit.inf.theta"
version = "2.3.0"
version = "2.4.0"

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 @@ -18,6 +18,7 @@
import static com.google.common.base.Preconditions.checkNotNull;
import static hu.bme.mit.theta.core.type.booltype.BoolExprs.False;

import hu.bme.mit.theta.common.Utils;
import hu.bme.mit.theta.core.type.Expr;
import hu.bme.mit.theta.core.type.booltype.BoolType;

Expand All @@ -43,4 +44,8 @@ public boolean isBottom() {
return expr.equals(False());
}

@Override
public String toString() {
return Utils.lispStringBuilder(getClass().getSimpleName()).body().add(expr).toString();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public final class ExprTraceUtils {
private ExprTraceUtils() {
}

public static Trace<ExprState, ExprAction> traceFrom(final List<? extends ExprAction> actions) {
public static <A extends ExprAction> Trace<ExprState, A> traceFrom(final List<? extends A> actions) {
checkNotNull(actions);
final List<ExprState> states = new ArrayList<>(actions.size() + 1);
for (int i = 0; i < actions.size() + 1; i++) {
Expand Down
Loading

0 comments on commit 949b632

Please sign in to comment.