summaryrefslogtreecommitdiff
path: root/src/util/integer_gmp_imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/integer_gmp_imp.h')
-rw-r--r--src/util/integer_gmp_imp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/integer_gmp_imp.h b/src/util/integer_gmp_imp.h
index f5254a3d2..dfd6c0599 100644
--- a/src/util/integer_gmp_imp.h
+++ b/src/util/integer_gmp_imp.h
@@ -378,7 +378,7 @@ public:
*/
unsigned isPow2() const {
if (d_value <= 0) return 0;
- // check that the number of ones in the binary represenation is 1
+ // check that the number of ones in the binary representation is 1
if (mpz_popcount(d_value.get_mpz_t()) == 1) {
// return the index of the first one plus 1
return mpz_scan1(d_value.get_mpz_t(), 0) + 1;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback