[med-svn] [SCM] aghermann branch, master, updated. 4f7a3b774136ffffbaf9b05d90bd568347bc5461

Andrei Zavada johnhommer at gmail.com
Fri Nov 16 00:50:18 UTC 2012


The following commit has been merged in the master branch:
commit e0e2614358346519754a0690d449de454c4b546b
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Sun Oct 14 21:54:42 2012 +0300

    don't let filters add samples

diff --git a/src/libsigfile/edf.ii b/src/libsigfile/edf.ii
index 818f722..e2a177d 100644
--- a/src/libsigfile/edf.ii
+++ b/src/libsigfile/edf.ii
@@ -147,7 +147,8 @@ get_region_filtered_( Th h,
 	    break;
 	}
 
-	return recp;
+	// filters happen to append samples, so
+	return recp[ slice (0, smplz-smpla, 1)];
 }
 
 

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list