From c84db77ecdaa7107a33824484bf9c649f8fcbbff Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Mon, 3 Aug 2020 16:26:42 -0700 Subject: [PATCH] Update documentation for Solver::mkVar() (#4833) The documentation of `Solver::mkVar()` was not very clear regarding what it could be used for. This lead to some confusion (see e.g. #4828). This commit makes the documentation more explicit. --- src/api/cvc4cpp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h index edd74280a..bba654200 100644 --- a/src/api/cvc4cpp.h +++ b/src/api/cvc4cpp.h @@ -2788,7 +2788,8 @@ class CVC4_PUBLIC Solver Term mkConst(Sort sort, const std::string& symbol = std::string()) const; /** - * Create (bound) variable. + * Create a bound variable to be used in a binder (i.e. a quantifier, a + * lambda, or a witness binder). * @param sort the sort of the variable * @param symbol the name of the variable * @return the variable -- 2.30.2