3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-14 01:46:15 +00:00

correct the type returned by mkNth #4454

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-03 09:10:44 -07:00
parent 7ac2791482
commit 0bc33e9c9d
2 changed files with 4 additions and 4 deletions

View file

@ -2051,10 +2051,10 @@ public class Context implements AutoCloseable {
/**
* Retrieve element at index.
*/
public SeqExpr MkNth(SeqExpr s, Expr index)
public Expr MkNth(SeqExpr s, Expr index)
{
checkContextMatch(s, index);
return (SeqExpr) Expr.create(this, Native.mkSeqNth(nCtx(), s.getNativeObject(), index.getNativeObject()));
return Expr.create(this, Native.mkSeqNth(nCtx(), s.getNativeObject(), index.getNativeObject()));
}