Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Aug 28, 2024
1 parent 1481fe3 commit e35ad17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,8 @@ def test_circle_segment_h_from_A():

# Point at low area
assert_close(circle_segment_h_from_A(D=20, A=.006), 0.010042502885593678, rtol=1e-10)
assert_close(circle_segment_h_from_A(D=20, A=1e-7), 6.551963568133292e-06, rtol=1e-10)
# Note that as A becomes too low, the result becomes highly sensitive to the trig routine. A=1e-7 for D = 20 was too low.


# Special cases
assert circle_segment_h_from_A(0.0, 4.5) == 0.0
Expand Down

0 comments on commit e35ad17

Please sign in to comment.