From 2304490a2de45e3fdcf3482f787a643c9640c66f Mon Sep 17 00:00:00 2001 From: Vatsal A Jhalani Date: Thu, 10 Oct 2024 16:03:04 -0700 Subject: [PATCH] Fixed options not being set for sma modes --- src/SpectralUnmixing.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SpectralUnmixing.jl b/src/SpectralUnmixing.jl index 22d656b..ebb3447 100644 --- a/src/SpectralUnmixing.jl +++ b/src/SpectralUnmixing.jl @@ -300,6 +300,7 @@ function unmix_line(line::Int64, reflectance_file::String, mode::String, refl_no img_dat = img_dat ./ refl_scale class_idx = prepare_combinations(library, combination_type) + options = [] # Prepare combinations if relevant if mode == "mesma" || mode == "mesma-best" options = prepare_options(library, combination_type, num_endmembers, class_idx)