Skip to content

Commit e9c5226

Browse files
committed
Merge branch 'minor_damage_correction' into 'development'
missing array restore See merge request damask/DAMASK!944
2 parents 799f9c4 + c125477 commit e9c5226

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/grid/grid_damage_spectral.f90

+3
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@ subroutine grid_damage_spectral_forward(cutBack)
288288
call updateReference()
289289
end if
290290

291+
call DMDAVecRestoreArrayF90(DM_damage,phi_PETSc,phi,err_PETSc)
292+
CHKERRQ(err_PETSc)
293+
291294
end subroutine grid_damage_spectral_forward
292295

293296

0 commit comments

Comments
 (0)