Skip to content

Commit 391c3dc

Browse files
committed
Hot fix for test suite.
1 parent 7b04a36 commit 391c3dc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Release Notes
22
=============
33

4+
Version 0.4.1
5+
-------------
6+
7+
Hot fix for the bin-packing tests.
8+
9+
410
Version 0.4.0
511
-------------
612

src/Test/binpacking.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function binpacking_vectorofvariables_test(
1313
@test MOI.supports_constraint(
1414
model,
1515
MOI.VectorOfVariables,
16-
CP.BinPacking{Int},
16+
CP.BinPacking{CP.NO_CAPACITY_BINPACKING, Int},
1717
)
1818

1919
x1, _ = MOI.add_constrained_variable(model, MOI.Integer())
@@ -60,7 +60,7 @@ function binpacking_scalaraffinefunction_test(
6060
@test MOI.supports_constraint(
6161
model,
6262
MOI.VectorAffineFunction{Int},
63-
CP.BinPacking{Int},
63+
CP.BinPacking{CP.NO_CAPACITY_BINPACKING, Int},
6464
)
6565

6666
x1, _ = MOI.add_constrained_variable(model, MOI.Integer())

0 commit comments

Comments
 (0)