summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-03-28 12:03:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-03-28 13:47:36 -0700
commit218fd994eea9ea81ca202470843aad6b9a2d3720 (patch)
tree944da343a644596ecbb9be359bb55d9b2eee7c3f /macos.c
parent1b05d28944ef72a62e788efdac2dcdc2dc4771ef (diff)
downloadsubsurface-218fd994eea9ea81ca202470843aad6b9a2d3720.tar.gz
Fix cylinder pressure interpolation
The pressure interpolation code mostly worked for the simple cases, but got terminally confused for some more complex gas change situations, resulting in nonsensical interpolations. This simplifies and clarifies the code a bit, and in the process fixes a few special cases where the gas interpolation segments didn't end up having the end conditions set. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
0 files changed, 0 insertions, 0 deletions