diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-11-30 20:21:39 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-11-30 20:21:39 +0000 |
commit | 6369830eec077ef112e6cc806cd910c7209eb2db (patch) | |
tree | 046eb8349271f30e4b366091ce627a33e88082f4 | |
parent | 27f1e75aa78a373e583bd567df2ac2863991482e (diff) |
parametric datatypes fix related to non-ascribed type constructors introduced by decision procedure
-rw-r--r-- | src/theory/datatypes/theory_datatypes.cpp | 1 |
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; //} |