This is an automated email from the git hooks/post-receive script. hmmr-guest pushed a commit to branch WIP in repository aghermann.
commit 88cd7ec32aa4596e96c5472c9cf7ddee1c98d3b2 Author: Andrei Zavada <[email protected]> Date: Thu Oct 17 23:53:33 2013 +0300 Revert "less code in sigproc::raw_signal_profile()" This reverts commit de5fcc50e6301bd4afaf31b93449c81fa21ba157. --- upstream/src/libsigproc/sigproc.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/upstream/src/libsigproc/sigproc.hh b/upstream/src/libsigproc/sigproc.hh index 0df5245..cc498db 100644 --- a/upstream/src/libsigproc/sigproc.hh +++ b/upstream/src/libsigproc/sigproc.hh @@ -111,13 +111,17 @@ 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); - return move( - env_u - env_l); + ret.resize( env_l.size()); + ret = env_u - env_l; + + return move(ret); } template <typename T> -- Alioth's /git/debian-med/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
