Skip to content

Commit 5608ff0

Browse files
committed
Use call
1 parent 9cc2eaf commit 5608ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/or-tools/constraint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ void init_constraint(Rice::Module& m) {
412412
// ensure Ruby thread
413413
if (ruby_native_thread_p()) {
414414
// TODO find a better way to do this
415-
callback.iv_set("@response", r);
415+
callback.call("response=", r);
416416
callback.call("on_solution_callback");
417417
}
418418
})

0 commit comments

Comments
 (0)