api: Rename kinds MINUS -> SUB and UMINUS -> NEG. (#8034)

This renames the arithmetic kinds MINUS and UMINUS on the
API level for consistency with our naming scheme for other
operators (e.g., BITVECTOR_SUB, FLOATINGPOINT_SUB).
This commit is contained in:
Aina Niemetz
2022-02-02 18:18:51 -08:00
committed by GitHub
parent 676b43d08a
commit 3cc0fe4d64
20 changed files with 48 additions and 48 deletions

View File

@@ -103,7 +103,7 @@ public class QuickStart
// It is also possible to get values for compound terms,
// even if those did not appear in the original formula.
Term xMinusY = solver.mkTerm(Kind.MINUS, x, y);
Term xMinusY = solver.mkTerm(Kind.SUB, x, y);
Term xMinusYVal = solver.getValue(xMinusY);
// Further, we can convert the values to java types