the use of progressDlg.close instead of progressDlg.hide led to an instability

code cleaning
This commit is contained in:
Paul Leroy
2024-02-16 08:56:15 +01:00
parent 677e63d753
commit b542d0e1ff
12 changed files with 39 additions and 42 deletions
+2 -1
View File
@@ -207,9 +207,10 @@ bool Classifier::classify( const Feature::Source::Set& featureSources,
bool success = true;
int numberOfTrees = static_cast<int>(m_rtrees->getRoots().size());
bool cancelled = false;
#ifndef _DEBUG
#if defined(_OPENMP)
bool cancelled = false;
#pragma omp parallel for
#endif
#endif