From 0ff83e200a3b662eeda4d2934e29eda3fec434c0 Mon Sep 17 00:00:00 2001 From: mischmi96 Date: Mon, 29 Nov 2021 15:37:37 +0100 Subject: [PATCH] fixes error in last commit --- src/analysis.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analysis.jl b/src/analysis.jl index bbafe52..245a2dc 100644 --- a/src/analysis.jl +++ b/src/analysis.jl @@ -88,6 +88,7 @@ function get_AttributeRanking(a::approx)::Dict{Float64,Vector{Float64}} end function get_ActiveSet( a::approx, eps::Vector{Float64}, λ::Float64 )::Vector{Vector{Int}} + U = a.U[2:end] lengths = [ length(u) for u in U ] ds = maximum(lengths) @@ -95,7 +96,6 @@ function get_ActiveSet( a::approx, eps::Vector{Float64}, λ::Float64 )::Vector{V error( "Entries in vector eps have to be ds.") end - U = a.U[2:end] gsi = get_GSI(a, λ) n = 0