Skip to content

Commit

Permalink
Merge branch 'minor_damage_correction' into 'development'
Browse files Browse the repository at this point in the history
missing array restore

See merge request damask/DAMASK!944
  • Loading branch information
MarDiehl committed May 28, 2024
2 parents 799f9c4 + c125477 commit e9c5226
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/grid/grid_damage_spectral.f90
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ subroutine grid_damage_spectral_forward(cutBack)
call updateReference()
end if

call DMDAVecRestoreArrayF90(DM_damage,phi_PETSc,phi,err_PETSc)
CHKERRQ(err_PETSc)

end subroutine grid_damage_spectral_forward


Expand Down

0 comments on commit e9c5226

Please sign in to comment.