mirror of
https://github.com/AdaCore/cvc5.git
synced 2026-02-12 12:32:16 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user