From 71d3c8c4cefc076868ca860695bedd84b2bc4dbf Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nwpope@utu.fi>
Date: Mon, 30 Sep 2019 14:15:09 +0300
Subject: [PATCH] Fix default cost ratio

---
 applications/reconstruct/src/ilw/ilw.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/reconstruct/src/ilw/ilw.cpp b/applications/reconstruct/src/ilw/ilw.cpp
index a7fbdd400..f2ec70af8 100644
--- a/applications/reconstruct/src/ilw/ilw.cpp
+++ b/applications/reconstruct/src/ilw/ilw.cpp
@@ -21,7 +21,7 @@ ILW::ILW(nlohmann::json &config) : ftl::Configurable(config) {
     use_lab_ = value("use_Lab", false);
     params_.colour_smooth = value("colour_smooth", 50.0f);
     params_.spatial_smooth = value("spatial_smooth", 0.04f);
-    params_.cost_ratio = value("cost_ratio", 75.0f);
+    params_.cost_ratio = value("cost_ratio", 0.75f);
 
     on("ilw_align", [this](const ftl::config::Event &e) {
         enabled_ = value("ilw_align", true);
-- 
GitLab