Fix wrong corefactor warning, fixes #4615

This commit is contained in:
Patrick Niklaus 2017-10-17 14:02:10 +00:00
parent 553310fb31
commit 0cc4c4380a

View File

@ -42,7 +42,7 @@ namespace contractor
int Contractor::Run() int Contractor::Run()
{ {
if (config.core_factor) if (config.core_factor != 1.0)
{ {
util::Log(logWARNING) util::Log(logWARNING)
<< "Using core factor is deprecated and will be ignored. Falling back to CH."; << "Using core factor is deprecated and will be ignored. Falling back to CH.";