From 685f95cb35cc336b4d8d881f5bcffa1a579fc880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Wed, 19 Jul 2017 14:40:03 +0200 Subject: [PATCH] cf -> cf1, cf2 --- test/contlinear.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/contlinear.jl b/test/contlinear.jl index 5d654b32c9..386cd4ce49 100644 --- a/test/contlinear.jl +++ b/test/contlinear.jl @@ -498,8 +498,8 @@ function contlineartest(solver::MOI.AbstractSolver, ε=Base.rtoldefault(Float64) cf1 = MOI.ScalarAffineFunction([x, y], [2.0,1.0], 0.0) cf2 = MOI.ScalarAffineFunction([x, y], [1.0,2.0], 0.0) - c1 = MOI.addconstraint!(m, cf, MOI.LessThan(4.0)) - c2 = MOI.addconstraint!(m, cf, MOI.LessThan(4.0)) + c1 = MOI.addconstraint!(m, cf1, MOI.LessThan(4.0)) + c2 = MOI.addconstraint!(m, cf2, MOI.LessThan(4.0)) @test MOI.getattribute(m, MOI.NumberOfConstraints{MOI.ScalarAffineFunction{Float64},MOI.LessThan{Float64}}()) == 2