> I think that currently first_stop is being calculated for each stop (so > isn't actually first_stop) rather than just the first. That's what it > looked like from my limited running under gdb with a break every time > first_stop is calculated, and printing the depth variable. > > To calculate the first stop for every cva iteration we need to be more > clever than what my patch does, but I'm not sure you'll get a very different > resulting plan. From my understanding, cva is significant for short deco / > no deco dives, whereas Boyle's law compensation is significant for long deco > dives.
I can't reproduce this. I've checked, there are only two places setting this variable, the only place it's used is passing it to the boyles_law(). Printing it there gives the same value several times... -- Jan Darowski _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
