Skip to content

Commit

Permalink
Remove the openmp pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Sep 8, 2023
1 parent 78228b6 commit e970771
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/include/gdx/maskedraster.h
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,6 @@ class MaskedRaster

auto pred = BinaryPredicate<T>();
const auto size = result.size();
#pragma omp parallel for
for (std::size_t i = 0; i < size; ++i) {
result[i] = pred(_data(i), static_cast<T>(value));
}
Expand Down Expand Up @@ -939,7 +938,6 @@ class MaskedRaster

auto pred = BinaryPredicate<WidestType>();
const auto size = result.size();
#pragma omp parallel for
for (std::size_t i = 0; i < size; ++i) {
result[i] = pred(static_cast<WidestType>(_data(i)), static_cast<WidestType>(other[i]));
}
Expand Down

0 comments on commit e970771

Please sign in to comment.