3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

Java API: bugfix

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2013-01-10 18:16:29 +00:00
parent 3482b8f4f1
commit dd127c2f71
2 changed files with 9 additions and 1 deletions

View file

@ -204,7 +204,7 @@ public class Expr extends AST
**/
public boolean IsConst() throws Z3Exception
{
return IsExpr() && NumArgs() == 0 && FuncDecl().DomainSize() == 0;
return IsApp() && NumArgs() == 0 && FuncDecl().DomainSize() == 0;
}
/**