mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 08:34:48 +08:00
Remove remaining early breaks in OMP loops (see #5)
This commit is contained in:
@@ -257,7 +257,6 @@ bool ContextBasedFeature::prepare( const CorePoints& corePoints,
|
||||
{
|
||||
//process cancelled by the user
|
||||
errorMessage = "Process cancelled";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -478,7 +478,6 @@ static bool ComputeMathOpWithNearestNeighbor( const CorePoints& corePoints,
|
||||
{
|
||||
//process cancelled by the user
|
||||
error = "Process cancelled";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -224,7 +224,6 @@ bool Classifier::classify( const Feature::Source::Set& featureSources,
|
||||
{
|
||||
errorMessage = cvex.msg.c_str();
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
|
||||
for (int fIndex = 0; fIndex < attributesPerSample; ++fIndex)
|
||||
@@ -257,7 +256,6 @@ bool Classifier::classify( const Feature::Source::Set& featureSources,
|
||||
{
|
||||
//process cancelled by the user
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1387,7 +1387,6 @@ bool Tools::PrepareFeatures(const CorePoints& corePoints, Feature::Set& features
|
||||
ccLog::Warning("Process cancelled");
|
||||
errorStr = "Process cancelled";
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user