summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-10-10 20:44:02 -0500
committerGitHub <noreply@github.com>2018-10-10 20:44:02 -0500
commit7d70b721f43157e01bc6166a822df79250df632a (patch)
tree6d92615b265f02e237717f49017d81b4646ae714 /src/expr
parentaa84926fb81001cc86661dead2ac5b856dd45ba3 (diff)
Synthesize rewrite rules from inputs (#2608)
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/datatype.cpp4
-rw-r--r--src/expr/datatype.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/expr/datatype.cpp b/src/expr/datatype.cpp
index 037a1beb2..66caedf8e 100644
--- a/src/expr/datatype.cpp
+++ b/src/expr/datatype.cpp
@@ -173,8 +173,8 @@ void Datatype::setSygus( Type st, Expr bvl, bool allow_const, bool allow_all ){
}
void Datatype::addSygusConstructor(Expr op,
- std::string& cname,
- std::vector<Type>& cargs,
+ const std::string& cname,
+ const std::vector<Type>& cargs,
std::shared_ptr<SygusPrintCallback> spc,
int weight)
{
diff --git a/src/expr/datatype.h b/src/expr/datatype.h
index 3fbb7e17b..615ad0e10 100644
--- a/src/expr/datatype.h
+++ b/src/expr/datatype.h
@@ -691,8 +691,8 @@ public:
* constructors.
*/
void addSygusConstructor(Expr op,
- std::string& cname,
- std::vector<Type>& cargs,
+ const std::string& cname,
+ const std::vector<Type>& cargs,
std::shared_ptr<SygusPrintCallback> spc = nullptr,
int weight = -1);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback