<div dir="ltr">Hi Jan,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 16 August 2015 at 00:11, Jan Darowski <span dir="ltr"><<a href="mailto:jan.darowski@gmail.com" target="_blank">jan.darowski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
Here is my next pull request, it adds all the remaining vpm-b<br>
elements. What is left to code is some way of logged dives rating<br>
against vpm-b and probably some fixes.<br>
<br></blockquote><div> </div><div>I've looked at and tested your latest series of VPM-B commits.  From what I can see, it looks like it's doing the correct thing, except that first_stop_pressure is reset to zero every iteration, so it then gets set each stop (rather than just at the first stop) before running the Boyle's law compensation.  The upshot is that the Boyle's law compensation isn't work as intended and an overly aggressive profile is calculated.<br></div><div><br>The attached patch brings the line that sets first_stop_pressure to zero outside the loop, so it is only run once.  Please have a look at what it does.<br></div><div><br></div><div>Cheers,<br><br></div><div>Rick<br></div><div><br></div></div></div></div></div>