[med-svn] [aghermann] 32/60: Revert "Revert "less code in sigproc::raw_signal_profile()""
andrei zavada
hmmr-guest at alioth.debian.org
Mon Nov 4 23:49:57 UTC 2013
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch WIP
in repository aghermann.
commit 5ee7dbc427a376b46f21226852b4ef4e661bf522
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Fri Oct 18 00:38:01 2013 +0300
Revert "Revert "less code in sigproc::raw_signal_profile()""
This reverts commit 88cd7ec32aa4596e96c5472c9cf7ddee1c98d3b2.
---
upstream/src/libsigproc/sigproc.hh | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/upstream/src/libsigproc/sigproc.hh b/upstream/src/libsigproc/sigproc.hh
index cc498db..0df5245 100644
--- a/upstream/src/libsigproc/sigproc.hh
+++ b/upstream/src/libsigproc/sigproc.hh
@@ -111,17 +111,13 @@ raw_signal_profile( const SSignalRef<T>& sigref,
double env_dh, double env_dt)
{
valarray<T>
- ret,
env_u, env_l;
-
envelope(
sigref,
env_dh, env_dt,
&env_l, &env_u);
- ret.resize( env_l.size());
- ret = env_u - env_l;
-
- return move(ret);
+ return move(
+ env_u - env_l);
}
template <typename T>
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list