Skip to content

Commit 0b92449

Browse files
committed
Fix missing initialization of damp
1 parent 6db26b2 commit 0b92449

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/solver.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ function gamma_loop!(
770770
v_acrossz_array = solver.cache[7][va_array]
771771
cl_dist = solver.cache[8][solver.lr.gamma_new]
772772
damp = solver.cache[9][solver.lr.gamma_new]
773+
damp .= zero(T)
773774
v_normal_array = solver.cache[10][solver.lr.gamma_new]
774775
v_tangential_array = solver.cache[11][solver.lr.gamma_new]
775776

0 commit comments

Comments
 (0)