Skip to content

Commit

Permalink
Removed omp functionality from dipoles to check for a race condition …
Browse files Browse the repository at this point in the history
…during github CI.
  • Loading branch information
akaptano committed Dec 15, 2024
1 parent 6cc7cfb commit a4c3be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simsoptpp/dipole_field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ Array define_a_uniform_cartesian_grid_between_two_toroidal_surfaces(Array& norma
Array final_grid = xt::zeros<double>({ngrid, 3});

// Loop through every dipole
#pragma omp parallel for schedule(static)
// #pragma omp parallel for schedule(static)
for (int i = 0; i < ngrid; i++) {
double X = xyz_uniform(i, 0);
double Y = xyz_uniform(i, 1);
Expand Down

0 comments on commit a4c3be8

Please sign in to comment.