aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/gfpmath
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 21:11:01 +0000
committerlloyd <[email protected]>2008-10-11 21:11:01 +0000
commit6f8d97762f28e3e8464e8bed7da0aa493818c1c5 (patch)
tree91496b55c7994c0c57edec5a905527962de0da84 /src/math/gfpmath
parent5be0c37f7b938b16b3cae5cc8650119326edceaf (diff)
Enable throwing of Illegal_Point in check_invariants
Diffstat (limited to 'src/math/gfpmath')
-rw-r--r--src/math/gfpmath/point_gfp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/gfpmath/point_gfp.cpp b/src/math/gfpmath/point_gfp.cpp
index be4d56a18..b2bc1d946 100644
--- a/src/math/gfpmath/point_gfp.cpp
+++ b/src/math/gfpmath/point_gfp.cpp
@@ -819,7 +819,7 @@ void PointGFp::check_invariants() const
print(mC.get_b(), "mC.b");
print(x3 + ax + mC.get_b(), "+");
- //throw Illegal_Point();
+ throw Illegal_Point();
}
}
@@ -840,7 +840,7 @@ void PointGFp::check_invariants() const
print(aXZ4, "axZ4");
print(bZ6, "bZ6");
print(x3 + aXZ4 + bZ6, "+");
- //throw Illegal_Point();
+ throw Illegal_Point();
}
}