shared_memory_parallelization #33

Merged
Alexander_KS merged 4 commits from shared_memory_parallelization into master 2024-03-26 13:36:21 +00:00
Showing only changes of commit 5c83e36a62 - Show all commits

View File

@@ -211,7 +211,7 @@ public:
} }
ParallelDirective *parDirective = baseDirs[0]; ParallelDirective *parDirective = baseDirs[0];
for (int z = 1; z < baseDirs.size(); ++z) for (int z = 1; z < baseDirs.size() && baseDirs[z]; ++z)
{ {
ParallelDirective *old = parDirective; ParallelDirective *old = parDirective;
parDirective = *parDirective + *baseDirs[z]; parDirective = *parDirective + *baseDirs[z];