Skip to content

Commit 1b1732f

Browse files
committed
z3rro: change helper fn name
1 parent 441cc04 commit 1b1732f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

z3rro/src/ureal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl<'a, 'ctx> Sub<&'a UReal<'ctx>> for &'a UReal<'ctx> {
116116
type Output = UReal<'ctx>;
117117

118118
fn sub(self, rhs: &'a UReal<'ctx>) -> Self::Output {
119-
UReal(int_monus(&self.0, &rhs.0))
119+
UReal(real_monus(&self.0, &rhs.0))
120120
}
121121
}
122122

@@ -142,7 +142,7 @@ impl<'a, 'ctx> Div<&'a UReal<'ctx>> for &'a UReal<'ctx> {
142142

143143
forward_binary_op!(UReal<'ctx>, UReal<'ctx>, UReal<'ctx>, Div, div, div);
144144

145-
fn int_monus<'ctx>(lhs: &Real<'ctx>, rhs: &Real<'ctx>) -> Real<'ctx> {
145+
fn real_monus<'ctx>(lhs: &Real<'ctx>, rhs: &Real<'ctx>) -> Real<'ctx> {
146146
let zero = Real::from_real(lhs.get_ctx(), 0, 1);
147147
Bool::ite(&lhs.ge(rhs), &(lhs - rhs), &zero)
148148
}

0 commit comments

Comments
 (0)