diff options
-rw-r--r-- | src/math/numbertheory/point_gfp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/numbertheory/point_gfp.cpp b/src/math/numbertheory/point_gfp.cpp index ba878f17f..db422c8aa 100644 --- a/src/math/numbertheory/point_gfp.cpp +++ b/src/math/numbertheory/point_gfp.cpp @@ -202,7 +202,7 @@ void PointGFp::mult2() BigInt PointGFp::get_affine_x() const { if(is_zero()) - throw Illegal_Transformation("cannot convert to affine"); + throw Illegal_Transformation("Cannot convert zero point to affine"); const Modular_Reducer& mod_p = curve.mod_p(); @@ -213,7 +213,7 @@ BigInt PointGFp::get_affine_x() const BigInt PointGFp::get_affine_y() const { if(is_zero()) - throw Illegal_Transformation("cannot convert to affine"); + throw Illegal_Transformation("Cannot convert zero point to affine"); const Modular_Reducer& mod_p = curve.mod_p(); |