Skip to content

Commit

Permalink
fix: Correct variable used in function call
Browse files Browse the repository at this point in the history
The wrong variable was used in a function call resulting in use of an uninitialized value later in the calculation.
  • Loading branch information
abensonca committed Jan 23, 2025
1 parent 0fdbc15 commit 1668ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/satellites.merging.virial_orbits.Wetzel2010.F90
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function wetzel2010Orbit(self,node,host,acceptUnboundOrbits)
massHost =Dark_Matter_Profile_Mass_Definition( &
& host , &
& self%virialDensityContrastDefinition_%densityContrast(basicHost%mass(),basicHost%timeLastIsolated()), &
& radiusHost , &
& radiusHostSelf , &
& velocityHost , &
& cosmologyParameters_ =self%cosmologyParameters_ , &
& cosmologyFunctions_ =self%cosmologyFunctions_ , &
Expand Down

0 comments on commit 1668ba8

Please sign in to comment.