lib/gecoder/interface/branch.rb in gecoder-0.2.0 vs lib/gecoder/interface/branch.rb in gecoder-0.3.0
- old
+ new
@@ -93,10 +93,10 @@
unless BRANCH_VALUE_CONSTANTS.include? val_strat
raise ArgumentError, "Unknown value selection strategy: #{val_strat}"
end
# Add the branching.
- Gecode::Raw.branch(active_space, variables.to_int_var_array,
+ Gecode::Raw.branch(active_space, variables.to_var_array,
BRANCH_VAR_CONSTANTS[var_strat], BRANCH_VALUE_CONSTANTS[val_strat])
end
end
end
\ No newline at end of file