mirror of
https://github.com/Z3Prover/z3
synced 2026-02-22 08:17:37 +00:00
Fix TypeScript type error: explicitly type consVec as AstVectorImpl<Bool<Name>>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
8d79e21aa7
commit
5253f9af9d
1 changed files with 1 additions and 1 deletions
|
|
@ -2120,7 +2120,7 @@ export function createApi(Z3: Z3Core): Z3HighLevel {
|
|||
): Promise<[CheckSatResult, AstVector<Name, Bool<Name>>]> {
|
||||
const asmsVec = new AstVectorImpl();
|
||||
const varsVec = new AstVectorImpl();
|
||||
const consVec = new AstVectorImpl();
|
||||
const consVec = new AstVectorImpl<Bool<Name>>();
|
||||
_flattenArgs(assumptions).forEach(expr => {
|
||||
_assertContext(expr);
|
||||
Z3.ast_vector_push(contextPtr, asmsVec.ptr, expr.ast);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue