From 2449055c7586e4066bc0210c654d51a5134e9127 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Thu, 1 Oct 2020 18:09:33 +0200 Subject: [PATCH] Remove a `using` in the middle of nowhere. --- Project.toml | 2 ++ src/Kombinator.jl | 1 + src/SpanningTree/st.jl | 3 --- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index e656216..5975025 100644 --- a/Project.toml +++ b/Project.toml @@ -4,11 +4,13 @@ authors = ["Thibaut Cuvelier and contributors"] version = "0.1.0" [deps] +DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" JuMP = "4076af6c-e467-56ae-b986-b466b2749572" LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" [compat] +DataStructures = "^0.16, ^0.17, ^0.18" JuMP = "^0.21, ^0.22" LightGraphs = "^1.0" julia = "1" diff --git a/src/Kombinator.jl b/src/Kombinator.jl index fbc8727..04be5da 100644 --- a/src/Kombinator.jl +++ b/src/Kombinator.jl @@ -7,6 +7,7 @@ module Kombinator # TODO: add a link to other packages like LightGraph for the corresponding algorithms, so that they seamlessly integrate with the others? # TODO: how to add a link to functions like budgeted_msets_lp_select, budgeted_msets_lp_all? They can be quite useful (but do not bring much in terms of performance) + using DataStructures using LinearAlgebra using LightGraphs using JuMP diff --git a/src/SpanningTree/st.jl b/src/SpanningTree/st.jl index 14bafda..e8d5749 100644 --- a/src/SpanningTree/st.jl +++ b/src/SpanningTree/st.jl @@ -1,6 +1,3 @@ -using LightGraphs -using DataStructures - struct SpanningTreeInstance{T} <: CombinatorialInstance graph::AbstractGraph{T} rewards::Dict{Edge{T}, Float64}