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

Andrei Zavada johnhommer at gmail.com
Wed May 1 00:09:25 UTC 2013


The following commit has been merged in the master branch:
commit 558282eb99523dc743c8503a873a908991733741
Author: Andrei Zavada <johnhommer at gmail.com>
Date:   Mon Apr 22 23:03:28 2013 +0300

    correctly apply artifact markings (regression after rel-ts work)

diff --git a/src/ui/sf/channel.cc b/src/ui/sf/channel.cc
index e778353..914d578 100644
--- a/src/ui/sf/channel.cc
+++ b/src/ui/sf/channel.cc
@@ -390,7 +390,7 @@ detect_artifacts( const metrics::mc::SArtifactDetectionPP& P)
 		metrics::mc::detect_artifacts( signal_original, samplerate(), P);
 	for ( size_t p = 0; p < marked.size(); ++p )
 		artifacts.mark_artifact(
-			marked[p] * P.scope * samplerate(), (marked[p]+1) * P.scope * samplerate());
+			marked[p] * P.scope, (marked[p]+1) * P.scope);
 
 	calculate_dirty_percent();
 	get_signal_filtered();

-- 
Sleep experiment manager



More information about the debian-med-commit mailing list