summaryrefslogtreecommitdiff
path: root/src/util/divisible.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-06-24 20:21:37 -0400
committerMorgan Deters <mdeters@cs.nyu.edu>2013-06-24 20:21:48 -0400
commita9bf7fc500daba46ed86ca744c1346059880e6f4 (patch)
treeae7ceb835b108526502b44de9450e63466ba49b5 /src/util/divisible.cpp
parent0a3422299da7e882bae22c5fa3e5ec3c80b42046 (diff)
Add files missing from last commit
Diffstat (limited to 'src/util/divisible.cpp')
-rw-r--r--src/util/divisible.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/util/divisible.cpp b/src/util/divisible.cpp
new file mode 100644
index 000000000..4e20d6b5f
--- /dev/null
+++ b/src/util/divisible.cpp
@@ -0,0 +1,29 @@
+/********************* */
+/*! \file divisible.cpp
+ ** \verbatim
+ ** Original author: Morgan Deters
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2009-2013 New York University and The University of Iowa
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief [[ Add one-line brief description here ]]
+ **
+ ** [[ Add lengthier description here ]]
+ ** \todo document this file
+ **/
+
+#include "util/divisible.h"
+#include "util/exception.h"
+
+using namespace std;
+
+namespace CVC4 {
+
+Divisible::Divisible(const Integer& n) : k(n) {
+ CheckArgument(n > 0, n, "Divisible predicate must be constructed over positive N");
+}
+
+}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback