aboutsummaryrefslogtreecommitdiff
path: root/src/gen/order.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen/order.c')
-rw-r--r--src/gen/order.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen/order.c b/src/gen/order.c
index 92b1489..6af1f00 100644
--- a/src/gen/order.c
+++ b/src/gen/order.c
@@ -146,7 +146,7 @@ CHECK(order_check_discriminant) {
D = mulis(D, 4);
}
- if (mpcmp(D, mind) <= 0) {
+ if (abscmpii(D, mind) <= 0) {
avma = ltop;
return -4;
}