diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-06-24 20:21:37 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-06-24 20:21:48 -0400 |
commit | a9bf7fc500daba46ed86ca744c1346059880e6f4 (patch) | |
tree | ae7ceb835b108526502b44de9450e63466ba49b5 /src/util/divisible.cpp | |
parent | 0a3422299da7e882bae22c5fa3e5ec3c80b42046 (diff) |
Add files missing from last commit
Diffstat (limited to 'src/util/divisible.cpp')
-rw-r--r-- | src/util/divisible.cpp | 29 |
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 */ |