Skip to content

Commit 0ae9d70

Browse files
committed
fixup! Convert weighted sums to Minion
1 parent 7d9b526 commit 0ae9d70

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

crates/conjure_core/src/ast/domains.rs

-10
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ pub enum Domain {
1717
}
1818

1919
impl Domain {
20-
/// Returns the minimum value in the domain if it is an IntDomain.
21-
pub fn get_min_i32(&self) -> Option<i32> {
22-
self.values_i32()?.iter().min().copied()
23-
}
24-
25-
/// Returns the maximum value in the domain if it is an IntDomain.
26-
pub fn get_max_i32(&self) -> Option<i32> {
27-
self.values_i32()?.iter().max().copied()
28-
}
29-
3020
/// Return a list of all possible i32 values in the domain if it is an IntDomain.
3121
pub fn values_i32(&self) -> Option<Vec<i32>> {
3222
match self {

0 commit comments

Comments
 (0)