Skip to content

Commit

Permalink
Fixed order of function args
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Jul 8, 2024
1 parent f3911ce commit 20614ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ public static Tuple2<Expr<?>, List<Expr<?>>> extractFuncAndArgs(final FuncAppExp
final Tuple2<Expr<?>, List<Expr<?>>> funcAndArgs = extractFuncAndArgs(funcApp);
final Expr<?> resFunc = funcAndArgs.get1();
final List<Expr<?>> args = funcAndArgs.get2();
final List<Expr<?>> resArgs = ImmutableList.<Expr<?>>builder().addAll(args).add(arg)
final List<Expr<?>> resArgs = ImmutableList.<Expr<?>>builder().add(arg).addAll(args)
.build();
return Tuple2.of(resFunc, resArgs);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import hu.bme.mit.theta.core.type.booltype.BoolExprs.*
import hu.bme.mit.theta.core.type.inttype.IntExprs
import hu.bme.mit.theta.core.type.inttype.IntExprs.Int
import hu.bme.mit.theta.core.type.inttype.IntType
import hu.bme.mit.theta.solver.smtlib.impl.z3.Z3SmtLibSolverFactory
import org.junit.jupiter.api.Test

private val iParamLut = LinkedHashMap<String, ParamDecl<IntType>>()
Expand Down

0 comments on commit 20614ce

Please sign in to comment.