Skip to content

Commit ab57404

Browse files
authored
use mod_floor instead of div_mod_floor (#151)
1 parent 446b387 commit ab57404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/more_ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ lazy_static! {
831831

832832
fn mod_group_order(n: Number) -> Number {
833833
let order = GROUP_ORDER.clone();
834-
let (_q, mut remainder) = n.div_mod_floor(&order);
834+
let mut remainder = n.mod_floor(&order);
835835
if remainder.sign() == Sign::Minus {
836836
remainder += order;
837837
}

0 commit comments

Comments
 (0)