~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
1 year, 8 months ago
Updated
1 year, 8 months ago
Labels
bug

~tsegers REPORTED FIXED 1 year, 8 months ago

Tim Segers referenced this ticket in commit e60eef4.

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