Skip to content

Commit af754e0

Browse files
Added RICE binding for definition of a domain from values (#67)
1 parent 475b4b9 commit af754e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/or-tools/constraint.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ namespace Rice::detail
7070
void init_constraint(Rice::Module& m) {
7171
Rice::define_class_under<Domain>(m, "Domain")
7272
.define_constructor(Rice::Constructor<Domain, int64_t, int64_t>())
73+
.define_function("from_values", &Domain::FromValues)
7374
.define_method("min", &Domain::Min)
7475
.define_method("max", &Domain::Max);
7576

0 commit comments

Comments
 (0)