summaryrefslogtreecommitdiff
path: root/src/util/integer_cln_imp.h
diff options
context:
space:
mode:
authorPaul Meng <baolmeng@gmail.com>2016-10-11 13:54:20 -0500
committerPaul Meng <baolmeng@gmail.com>2016-10-11 13:54:20 -0500
commit3395c5c13cd61d98aec0d9806e3b9bc3d707968a (patch)
tree0eadad9799862ec77d29f7abe03a46c300d80de8 /src/util/integer_cln_imp.h
parent773e7d27d606b71ff0f78e84efe1deef2653f016 (diff)
parent5f415d4585134612bc24e9a823289fee35541a01 (diff)
Merge branch 'origin' of https://github.com/CVC4/CVC4.git
Conflicts: src/options/quantifiers_options
Diffstat (limited to 'src/util/integer_cln_imp.h')
-rw-r--r--src/util/integer_cln_imp.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/util/integer_cln_imp.h b/src/util/integer_cln_imp.h
index 6bfebbaf1..12619520f 100644
--- a/src/util/integer_cln_imp.h
+++ b/src/util/integer_cln_imp.h
@@ -321,16 +321,7 @@ public:
*
* @param exp the exponent
*/
- Integer pow(unsigned long int exp) const {
- if(exp > 0){
- cln::cl_I result= cln::expt_pos(d_value,exp);
- return Integer( result );
- }else if(exp == 0){
- return Integer( 1 );
- }else{
- throw Exception("Negative exponent in Integer::pow()");
- }
- }
+ Integer pow(unsigned long int exp) const;
/**
* Return the greatest common divisor of this integer with another.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback