Skip to content

Commit

Permalink
Bug fix: Fix for the segmentation fault resulting from merging Pull R…
Browse files Browse the repository at this point in the history
…equest #1.
  • Loading branch information
luwang00 committed May 8, 2022
1 parent 7a09242 commit 71ca692
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/openfast-library/src/FAST_Subs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -852,10 +852,15 @@ SUBROUTINE FAST_InitializeAll( t_initial, p_FAST, y_FAST, m_FAST, ED, BD, SrvD,
nullify(Init%InData_HD%WaveDirArr)
nullify(Init%InData_HD%WaveDynP)
nullify(Init%InData_HD%WaveAcc)
nullify(Init%InData_HD%WaveVel)
nullify(Init%InData_HD%WaveVel)
nullify(Init%InData_HD%PWaveDynP0)
nullify(Init%InData_HD%PWaveAcc0)
nullify(Init%InData_HD%PWaveVel0)
nullify(Init%InData_HD%WaveTime)
nullify(Init%InData_HD%WaveElev1)
nullify(Init%InData_HD%WaveElev2)
nullify(Init%InData_HD%WaveAccMCF)
nullify(Init%InData_HD%PWaveAccMCF0)

! If HD_Init failed, cleanup and exit
IF (ErrStat >= AbortErrLev) THEN
Expand Down

0 comments on commit 71ca692

Please sign in to comment.