summaryrefslogtreecommitdiff
path: root/src/util/sort_inference.cpp
diff options
context:
space:
mode:
authorajreynol <reynolds@larapc05.epfl.ch>2014-06-17 15:25:58 +0200
committerlianah <lianahady@gmail.com>2014-06-19 18:24:39 -0400
commit0fe78eebc0c0f2d01c7aa64725bee08ba5aa2274 (patch)
tree475b094989b0828d7d82e41160a010a6134e8674 /src/util/sort_inference.cpp
parent35cdae503bd88633a52333bf06fbf80cd81926e2 (diff)
For casc : print models of functions rewritten by sort inference.
Diffstat (limited to 'src/util/sort_inference.cpp')
-rw-r--r--src/util/sort_inference.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sort_inference.cpp b/src/util/sort_inference.cpp
index b38ed7d63..90382c365 100644
--- a/src/util/sort_inference.cpp
+++ b/src/util/sort_inference.cpp
@@ -580,6 +580,8 @@ Node SortInference::simplify( Node n, std::map< Node, Node >& var_bound ){
ss << "io_" << op;
TypeNode typ = NodeManager::currentNM()->mkFunctionType( argTypes, retType );
d_symbol_map[op] = NodeManager::currentNM()->mkSkolem( ss.str(), typ, "op created during sort inference" );
+ Trace("setp-model") << "Function " << op << " is replaced with " << d_symbol_map[op] << std::endl;
+ d_model_replace_f[op] = d_symbol_map[op];
}else{
d_symbol_map[op] = op;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback