instability debuggin in progress

This commit is contained in:
Paul Leroy
2024-02-13 16:44:10 +01:00
parent a01d4a81fd
commit c3e1baf6fc
5 changed files with 26 additions and 16 deletions
+2 -2
View File
@@ -425,7 +425,7 @@ static bool ComputeMathOpWithNearestNeighbor( const CorePoints& corePoints,
#ifndef _DEBUG
#if defined(_OPENMP)
bool cancelled = false;
#pragma omp parallel for num_threads(omp_get_max_threads())
#pragma omp parallel for
#endif
#endif
for (int i = 0; i < static_cast<int>(pointCount); ++i)
@@ -479,7 +479,7 @@ static bool ComputeMathOpWithNearestNeighbor( const CorePoints& corePoints,
if (cancelled)
{
//process cancelled by the user
error = "Process cancelled";
error = "[Point feature] Process cancelled";
}
}
}