Skip to content

Commit

Permalink
(inject_sim) Fix uninitialised variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Monash-Fitz-Hu committed May 15, 2024
1 parent b4ee245 commit 61ee94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/inject_sim.f90
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ subroutine init_inject(ierr)
!
!--find the tde dump at the right time
!
next_time = -1.
next_dump = getnextfilename(start_dump)
call get_dump_time_npart(trim(next_dump),next_time,ierr,npart_out=npart_sim)
if (ierr /= 0) next_time = -1.
ierr = 0
niter = 0

Expand Down

0 comments on commit 61ee94b

Please sign in to comment.