Writing a unit test for a newer, faster version of a libscopehal primitive and it wasn't lining up with the original results.
Turns out there was a bug in the original (FindZeroCrossings would fail to correctly detect a crossing between samples 0 and 1).