Skip to content

Commit

Permalink
Fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiodsf committed Jan 9, 2025
1 parent a5e7d45 commit 031db4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sourcespec/ssp_geom_spreading.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def geom_spread_r_power_n_segmented(hypo_dist_in_km, exponents,
hinge_distances = np.asarray(hinge_distances)
Rref = hinge_distances[0]
exponents = -np.asarray(exponents)
# Do not allow distances less than Rref (1 km)
# Do not allow distances less than Rref
hypo_dist_in_km = np.maximum(Rref, hypo_dist_in_km)
Zhinges = (hinge_distances[:-1] / hinge_distances[1:]) ** exponents[:-1]
Zhinges = np.cumprod(Zhinges)
Expand Down

0 comments on commit 031db4c

Please sign in to comment.