From 3daaecd22fe5f6147cb08e5a4e08177b33a2daa2 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Fri, 3 Aug 2012 20:39:25 +0000 Subject: fix uses of getMetaKind() from outside the expr package. (they now use isConst() and isVar() as appropriate) also some base infrastructure for the new ::isConst(). --- src/prop/cnf_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/prop/cnf_stream.cpp') diff --git a/src/prop/cnf_stream.cpp b/src/prop/cnf_stream.cpp index b498f1e40..c5345c5a7 100644 --- a/src/prop/cnf_stream.cpp +++ b/src/prop/cnf_stream.cpp @@ -150,7 +150,7 @@ void TseitinCnfStream::ensureLiteral(TNode n) { } if( theory::Theory::theoryOf(n) == theory::THEORY_BOOL && - n.getMetaKind() != kind::metakind::VARIABLE ) { + !n.isVar() ) { // If we were called with something other than a theory atom (or // Boolean variable), we get a SatLiteral that is definitionally // equal to it. -- cgit v1.2.3