This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to branch WIP
in repository aghermann.

commit 56e3bdcc2f129e88b86c44fc29afd7e31556410b
Author: Andrei Zavada <hmmr@ra>
Date:   Sun Jun 14 18:29:36 2015 +0300

    artifact-detection/3in1.cc: choose correct EMG channels selection
    
    for steady_tone detection
---
 upstream/src/aghermann/artifact-detection/3in1.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/upstream/src/aghermann/artifact-detection/3in1.cc 
b/upstream/src/aghermann/artifact-detection/3in1.cc
index cf6524e..853c23f 100644
--- a/upstream/src/aghermann/artifact-detection/3in1.cc
+++ b/upstream/src/aghermann/artifact-detection/3in1.cc
@@ -116,7 +116,7 @@ detect_artifacts( sigfile::SNamedChannel& N,
                 if ( emgRR.empty() )
                         APPLOG_INFO ("No EMG recordings in %s:%s, skipping EMG 
perturbation-bound artifact detection", N.source.filename(), 
N.source.channel_by_id(N.sig_no).name());
 
-                for ( int h = 0; h < (int)emgRR.size(); ++h ) {
+                for ( const int h : emgRR ) {
                         sigproc::SSignalRef<TFloat> sigref 
{N.source.get_signal_original(h), N.source.samplerate(h)};
                         double this_steady_tone;
                         tie (this_steady_tone, ignore) =

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/aghermann.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to