Skip to content

Commit

Permalink
[skip ci] Apply fprettify changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSto authored and actions-user committed Jan 20, 2022
1 parent 78f156f commit 936545f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stella_save.fpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ contains
! we need shift_state variable defined in netcdf file even if no exb
! shear present in simulation) -- MAB + CMR
istatus = nf90_def_var(ncid, "shiftstate", netcdf_real, &
(/kyid/), shift_id)
(/kyid/), shift_id)
if (istatus /= NF90_NOERR) then
ierr = error_unit()
write (ierr, *) "nf90_def_var shiftstate error: ", nf90_strerror(istatus)
Expand Down Expand Up @@ -1034,7 +1034,7 @@ contains

end if

if (.not.allocated(shift_state)) allocate (shift_state(naky))
if (.not. allocated(shift_state)) allocate (shift_state(naky))
istatus = nf90_get_var(ncid, shift_id, shift_state)
if (istatus /= NF90_NOERR) call netcdf_error(istatus, ncid, shift_id)

Expand Down

0 comments on commit 936545f

Please sign in to comment.