From 0618832793378e178be276e6500437f7d892c6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Tue, 28 Jul 2020 11:39:10 +0200 Subject: [PATCH] Remove useless assignment in allocate-load --- src/Utilities/copy.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/copy.jl b/src/Utilities/copy.jl index 666a47039e..91736a80fa 100644 --- a/src/Utilities/copy.jl +++ b/src/Utilities/copy.jl @@ -725,7 +725,7 @@ function allocate_load(dest::MOI.ModelLike, src::MOI.ModelLike, copy_names::Bool allocate_constraints, allocate) # Load variables - vars = load_variables(dest, length(vis_src)) + load_variables(dest, length(vis_src)) for cis_src in vector_of_variables_allocated load_vector_of_variables(dest, src, idxmap, cis_src) end