Skip to content

Commit

Permalink
Merge pull request #563 from danieljprice/binary
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice authored Jul 1, 2024
2 parents 975fe43 + 5b195eb commit 5784b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/setup_binary.f90
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ subroutine setpart(id,npart,npartoftype,xyzh,massoftype,vxyzu,&
rhozero,npart_total,i_belong,ierr)

nptmass_in = 0
if (iexternalforce==iext_corotate) then
if (iextern_prev==iext_corotate) then
call set_orbit(orbit,star(1)%mstar,star(2)%mstar,star(1)%hacc,star(2)%hacc,&
xyzmh_ptmass_in,vxyz_ptmass_in,nptmass_in,(id==master),ierr,omega_corotate)
add_spin = .false.
Expand Down

0 comments on commit 5784b1f

Please sign in to comment.