<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Linus,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 14.09.2017 um 21:20 schrieb Linus
      Torvalds:<br>
    </div>
    <blockquote type="cite"
      cite="mid:alpine.LFD.2.21.1709141219120.11829@i7.lan">
      <pre wrap="">
From: Linus Torvalds <a class="moz-txt-link-rfc2396E" href="mailto:torvalds@linux-foundation.org"><torvalds@linux-foundation.org></a>
Date: Thu, 14 Sep 2017 12:14:33 -0700
Subject: [PATCH 2/2] Properly clear sensor pressure data for synthetic plotinfo entries

We only cleared the first sensor data when we created new synthetic plot
info entries, because we only used to have one (well, we had the o2
data, but apparently nobody ever noticed that it didn't get properly
interpolated, probably because people who have CCR dives with o2
pressures are few, and the pressure drops are gradual anyway).

Clear all the pressure data, so that the interpolation code doesn't
think we have some existing real sensor data for the plot info entries
in between proper sample entries.

Signed-off-by: Linus Torvalds <a class="moz-txt-link-rfc2396E" href="mailto:torvalds@linux-foundation.org"><torvalds@linux-foundation.org></a>
---

This fixes the very odd "sometimes interpolation doesn't work". 
</pre>
    </blockquote>
    Sorry for the maybe stupid questions: This does already solve the
    issue with the spike I reported, isn't it?<br>
    <br>
    I first was thinking no, this now is only taking care about s.th.
    additional you discovered during your investigations.<br>
    But after reading everything again and testing the patch I now
    believe this is already the final fix?!<br>
    <br>
    What is clear is that the fix only helps for any newly planned dives
    after applying the fix. Any old dive from the planner with the
    specific setup will still show the spike because there is the
    "incorrect" pressure info in the XML. To fix old dives I need to
    remove the pressure info manually in the XML.<br>
    <br>
    Please correct me if I'm wrong!<br>
    Thanks!<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>