Skip to content

Commit

Permalink
third commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alesyacurtis committed May 9, 2024
1 parent a315630 commit 10e2b2d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/omp/shemiakina_a_ShellSort/src/ops_omp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ void ShellTaskOMP::ShellSort_Parallel(std::vector<int>& input) {
}

void ShellTaskOMP::ShellSort(std::vector<int>& vec) {

for (int interval = static_cast<int>(vec.size()) / 2; interval > 0; interval /= 2) {
for (int i = interval; i < static_cast<int>(vec.size()); i++) {
int tmp = vec[i];
Expand Down

0 comments on commit 10e2b2d

Please sign in to comment.