diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-12-06 01:38:17 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-12-06 01:38:17 +0000 |
commit | 8c8985f024cec925f774ff32ebccc306be8e4b26 (patch) | |
tree | 995253cc03ff5c711b4d1778792692c81961b146 /src/theory | |
parent | bd0a6c39c56c6ad2bf12e7b9fd41db1772fed9cd (diff) |
* some build fixes; thanks; thanks to Kunal Ganeshpure for noting these issues
* build bugfix for win32
* also fix a bug re: tuples and records in the datatypes rewriter
These fixes are for both trunk and 1.0.x branches.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/datatypes/datatypes_rewriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/datatypes/datatypes_rewriter.h b/src/theory/datatypes/datatypes_rewriter.h index 7d7578983..b503087c9 100644 --- a/src/theory/datatypes/datatypes_rewriter.h +++ b/src/theory/datatypes/datatypes_rewriter.h @@ -177,7 +177,7 @@ public: } if(in.getKind() == kind::RECORD_UPDATE && in[0].getKind() == kind::RECORD) { - size_t ix = in[0].getOperator().getConst<Record>().getIndex(in.getConst<RecordUpdate>().getField()); + size_t ix = in[0].getOperator().getConst<Record>().getIndex(in.getOperator().getConst<RecordUpdate>().getField()); NodeBuilder<> b(kind::RECORD); b << in[0].getOperator(); for(TNode::const_iterator i = in[0].begin(); i != in[0].end(); ++i, --ix) { |