~tsegers/opendeco#8: 
src/deco.c:131: add_segment_ascdec: Assertion `time > 0' failed

For some combinations of depth and surface pressure, the next stop as calculated in schedule.c will equal the current depth. This in turn will make the time to reach the next stop 0, triggering the assert in add_segment_ascdec.

Steps to reproduce:

$ opendeco -d 30 -t 120 -p 1.0135
Status
RESOLVED FIXED
Submitter
~tsegers
Assigned to
Submitted
2 years ago
Updated
2 years ago
Labels
bug

~tsegers REPORTED FIXED 2 years ago

Tim Segers referenced this ticket in commit e60eef4.

Register here or Log in to comment, or comment via email.