<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Rick,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 23 Aug 2015, at 15:18, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com" class="">rickmwalsh@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Yes, there are very small ceiling violations in some cases I've tried.  If you can't devise a precise method to calculate a gradient that agrees exactly with the planned dive, we could relax the definition of a ceiling violation to excuse small (e.g. 0.3 m) violations.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><br class=""></div><div class="">the thing is: the profile does not recalculate that gradient. It should still be there from planning the dive.</div><div class=""><br class=""></div><div class="">Today, I have spent my day trying to write a test for the VPM-B part of the planner. Writing that test was easy. But making it agree with what the desktop program computes has so far proven impossible to me. This model holds so much non-trivial global state! I already found several things that were not properly initialised, but there is still more. Grrrrrr.</div><div class=""><br class=""></div><div class="">Best</div><div class="">Robert</div></body></html>