From 8f5952618515864c1fcf544f5dd21a6130eb000f Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 25 Dec 2015 13:39:44 -0800 Subject: [PATCH] Incorrect comparison Hard to believe you could screw up something so easy! --- src/FactSystem/ParameterLoader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FactSystem/ParameterLoader.cc b/src/FactSystem/ParameterLoader.cc index 80654dc1e..90bf32559 100644 --- a/src/FactSystem/ParameterLoader.cc +++ b/src/FactSystem/ParameterLoader.cc @@ -349,7 +349,7 @@ int ParameterLoader::_actualComponentId(int componentId) { if (componentId == FactSystem::defaultComponentId) { componentId = _defaultComponentId; - if (componentId != FactSystem::defaultComponentId) { + if (componentId == FactSystem::defaultComponentId) { qWarning() << "Default component id not set"; } } -- 2.22.0