Skip to content

Commit

Permalink
Add init value for first_field_value
Browse files Browse the repository at this point in the history
  • Loading branch information
proy30 committed Jan 10, 2025
1 parent 0aae41f commit 76b69e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def populate_prob_relative_fields():
multigrid_first_field_value = generalFunctions.get_default(
"prob_relative_first_value_multigrid", "default_values"
)

first_field_value = 0
if state.poisson_solver == "fft":
first_field_value = fft_first_field_value
elif state.poisson_solver == "multigrid":
Expand Down

0 comments on commit 76b69e2

Please sign in to comment.