summaryrefslogtreecommitdiff
path: root/examples/api/bitvectors.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-30 23:07:19 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-30 23:07:19 +0000
commit45229fd903afa592deb0499027375bc1d5562cbc (patch)
tree67b54b4841b1d084b90226cc5670c4c18173d06c /examples/api/bitvectors.cpp
parent2bd85df6be705aed37a5d5eba082fbb9a38ab7c5 (diff)
all API examples now have java versions too; bitvectors gets built; also updated old-style copyrights in the examples
Diffstat (limited to 'examples/api/bitvectors.cpp')
-rw-r--r--examples/api/bitvectors.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/api/bitvectors.cpp b/examples/api/bitvectors.cpp
index 080ddf243..364fdb69e 100644
--- a/examples/api/bitvectors.cpp
+++ b/examples/api/bitvectors.cpp
@@ -1,13 +1,11 @@
/********************* */
-/*! \file bitvector.cpp
+/*! \file bitvectors.cpp
** \verbatim
** Original author: lianah
** Major contributors: none
** Minor contributors (to current version): none
** This file is part of the CVC4 prototype.
- ** Copyright (c) 2009, 2010, 2011 The Analysis of Computer Systems Group (ACSys)
- ** Courant Institute of Mathematical Sciences
- ** New York University
+ ** Copyright (c) 2009-2012 New York University and The University of Iowa
** See the file COPYING in the top-level source directory for licensing
** information.\endverbatim
**
@@ -66,7 +64,7 @@ int main() {
// Introduce a new variable for the new value of x after assignment.
Expr new_x = em.mkVar("new_x", bitvector32); // x after executing code (0)
- Expr new_x_ = em.mkVar("new_x_", bitvector32); // x after exectuing code (1) or (2)
+ Expr new_x_ = em.mkVar("new_x_", bitvector32); // x after executing code (1) or (2)
// Encoding code (0)
// new_x = x == a ? b : a;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback