# HG changeset patch # User Chris Cannam # Date 1399890590 -3600 # Node ID 8651089f9d1c2581f12f6209cabb162741eaa8a5 # Parent 4d287bb157e4b12aa2211583f3acb77f27cd20c5 Need abs diff diff -r 4d287bb157e4 -r 8651089f9d1c src/may/stream/test/test_convolve.yeti --- a/src/may/stream/test/test_convolve.yeti Mon May 12 11:24:47 2014 +0100 +++ b/src/may/stream/test/test_convolve.yeti Mon May 12 11:29:50 2014 +0100 @@ -149,7 +149,7 @@ ((convolve.convolvedWith p ir s).read (siglen + irlen - 1)); done signals params; diffs = map do c: - vec.max (vec.subtract c (head convolved)) + vec.max (vec.abs (vec.subtract c (head convolved))) done convolved; all id (map (compareUsing do a b: abs (a - b) < 1e-12 done (head diffs)) diffs); ),