Skip to content

Commit

Permalink
Merge pull request #614 from bmad-sim/fix/gfort-struct-init-bug
Browse files Browse the repository at this point in the history
Fix for gfortran structure init bug.
  • Loading branch information
DavidSagan committed Nov 2, 2023
2 parents d6bace5 + 58b12b2 commit 70954c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bmad/multiparticle/beam_file_io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ subroutine read_beam_ascii4 (file_name, beam, beam_init, err_flag)
call reallocate_beam(beam, n_bunch, save = .true.)
call reallocate_bunch(beam%bunch(n_bunch), 1000)
bunch => beam%bunch(n_bunch)
bunch = bunch_struct()
bunch = bunch_struct(null(), null(), 0.0_rp, 0.0_rp, 0.0_rp, 0.0_rp, real_garbage$, .false., 0, 0, 0, 0, 0, 0)

p0 = coord_struct()

Expand Down

0 comments on commit 70954c6

Please sign in to comment.