mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
replace long by int
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ab6abe901f
commit
9933c36050
|
@ -2090,7 +2090,7 @@ public class Context implements AutoCloseable {
|
||||||
/**
|
/**
|
||||||
* Create an at-most-k constraint.
|
* Create an at-most-k constraint.
|
||||||
*/
|
*/
|
||||||
public BoolExpr mkAtMost(BoolExpr[] args, long k)
|
public BoolExpr mkAtMost(BoolExpr[] args, int k)
|
||||||
{
|
{
|
||||||
checkContextMatch(args);
|
checkContextMatch(args);
|
||||||
return (BoolExpr) Expr.create(this, Native.mkAtmost(nCtx(), args.length, AST.arrayToNative(args), k));
|
return (BoolExpr) Expr.create(this, Native.mkAtmost(nCtx(), args.length, AST.arrayToNative(args), k));
|
||||||
|
@ -2099,7 +2099,7 @@ public class Context implements AutoCloseable {
|
||||||
/**
|
/**
|
||||||
* Create an at-least-k constraint.
|
* Create an at-least-k constraint.
|
||||||
*/
|
*/
|
||||||
public BoolExpr mkAtLeast(BoolExpr[] args, long k)
|
public BoolExpr mkAtLeast(BoolExpr[] args, int k)
|
||||||
{
|
{
|
||||||
checkContextMatch(args);
|
checkContextMatch(args);
|
||||||
return (BoolExpr) Expr.create(this, Native.mkAtleast(nCtx(), args.length, AST.arrayToNative(args), k));
|
return (BoolExpr) Expr.create(this, Native.mkAtleast(nCtx(), args.length, AST.arrayToNative(args), k));
|
||||||
|
|
Loading…
Reference in a new issue