summaryrefslogtreecommitdiff
path: root/rw.h
diff options
context:
space:
mode:
Diffstat (limited to 'rw.h')
-rw-r--r--rw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rw.h b/rw.h
index 76031f0..71e7009 100644
--- a/rw.h
+++ b/rw.h
@@ -24,8 +24,8 @@ public:
void DEREncode(BufferedTransformation &bt) const;
Integer ApplyFunction(const Integer &x) const;
- Integer PreimageBound() const {return m_n;}
- Integer ImageBound() const {return ++(m_n>>1);}
+ Integer PreimageBound() const {return ++(m_n>>1);}
+ Integer ImageBound() const {return m_n;}
bool Validate(RandomNumberGenerator &rng, unsigned int level) const;
bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const;