Skip to content

Commit eb0998d

Browse files
committed
Add init value for first_field_value
1 parent 7792cc4 commit eb0998d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/impactx/dashboard/Input/space_charge_configuration/spaceChargeMain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def populate_prob_relative_fields():
2525
multigrid_first_field_value = generalFunctions.get_default(
2626
"prob_relative_first_value_multigrid", "default_values"
2727
)
28-
28+
first_field_value = 0
2929
if state.poisson_solver == "fft":
3030
first_field_value = fft_first_field_value
3131
elif state.poisson_solver == "multigrid":

0 commit comments

Comments
 (0)