Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed typo in unused subroutine that was preventing compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jun 18, 2021
1 parent e3d1cf3 commit fed1f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ subroutine vector_adjust(mass, radius, x, v)
vmag = 2 * sqrt((0.5_DP * vmag0**2 * mrat + mass(1) * mass(2) * (1.0_DP / rmag - 1.0_DP / rmag0)) / mrat)

! Use conservation of angular momentum to get the new impact parameter
call util_cross_product(x(:), v(:), h0(:))
call util_crossproduct(x(:), v(:), h0(:))
B = norm2(h0) / (rmag * vmag)


Expand Down

0 comments on commit fed1f60

Please sign in to comment.