Skip to content

Commit

Permalink
Fixing git corruption number 1
Browse files Browse the repository at this point in the history
  • Loading branch information
unalmis committed Dec 5, 2024
1 parent f687e5c commit 9250166
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions desc/equilibrium/equilibrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,6 @@ def need_src(name):
else:
data0d_seed = {}
if calc1dr and override_grid:
can_fft = data_index[p][dep]["grid_requirement"].get("can_fft2", False)
grid1dr = LinearGrid(
rho=grid.compress(grid.nodes[:, 0], surface_label="rho"),
M=self.M_grid,
Expand All @@ -1063,7 +1062,9 @@ def need_src(name):
and all(
data_index[p][dep]["grid_requirement"].get("sym", True)
# TODO (#1206)
and not can_fft
and not data_index[p][dep]["grid_requirement"].get(
"can_fft2", False
)
for dep in dep1dr
),
)
Expand Down Expand Up @@ -1102,7 +1103,6 @@ def need_src(name):
data.update(data1dr)

if calc1dz and override_grid:
can_fft = data_index[p][dep]["grid_requirement"].get("can_fft2", False)
grid1dz = LinearGrid(
zeta=grid.compress(grid.nodes[:, 2], surface_label="zeta"),
L=self.L_grid,
Expand All @@ -1112,7 +1112,9 @@ def need_src(name):
and all(
data_index[p][dep]["grid_requirement"].get("sym", True)
# TODO (#1206)
and not can_fft
and not data_index[p][dep]["grid_requirement"].get(
"can_fft2", False
)
for dep in dep1dz
),
)
Expand Down

0 comments on commit 9250166

Please sign in to comment.