From e8c1db93dcbdaa262cb135b3fd8339bcc0b8dc4a Mon Sep 17 00:00:00 2001 From: James E McClure Date: Fri, 2 Nov 2018 12:47:42 -0400 Subject: [PATCH] read Sw from color db --- models/ColorModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index c1588dad..42f1eb4c 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -406,8 +406,8 @@ void ScaLBL_ColorModel::Run(){ int target_saturation_index=0; std::vector target_saturation; double TARGET_SATURATION = 0.f; - if (domain_db->keyExists( "Sw" )){ - target_saturation = domain_db->getVector( "Sw" ); + if (color_db->keyExists( "Sw" )){ + target_saturation = color_db->getVector( "Sw" ); } double capillary_number;