summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-11-30 20:21:39 +0000
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-11-30 20:21:39 +0000
commit6369830eec077ef112e6cc806cd910c7209eb2db (patch)
tree046eb8349271f30e4b366091ce627a33e88082f4 /src
parent27f1e75aa78a373e583bd567df2ac2863991482e (diff)
parametric datatypes fix related to non-ascribed type constructors introduced by decision procedure
Diffstat (limited to 'src')
-rw-r--r--src/theory/datatypes/theory_datatypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/theory/datatypes/theory_datatypes.cpp b/src/theory/datatypes/theory_datatypes.cpp
index 6273eb2c2..7c8f4014e 100644
--- a/src/theory/datatypes/theory_datatypes.cpp
+++ b/src/theory/datatypes/theory_datatypes.cpp
@@ -828,6 +828,7 @@ Node TheoryDatatypes::getInstantiateCons( Node n, const Datatype& dt, int index
n_ic = NodeManager::currentNM()->mkNode( APPLY_CONSTRUCTOR, children );
Assert( n_ic.getType()==n.getType() );
}
+ n_ic = Rewriter::rewrite( n_ic );
//d_inst_map[n][index] = n_ic;
return n_ic;
//}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback