commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 04/06: blocks/rotator: Make the input data


From: git
Subject: [Commit-gnuradio] [gnuradio] 04/06: blocks/rotator: Make the input data 'const'
Date: Tue, 28 Jan 2014 20:10:59 +0000 (UTC)

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

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 6f3e96cf83f57a23b8d8cc109f56391ce29c6e7b
Author: Sylvain Munaut <address@hidden>
Date:   Sat Jan 25 21:22:25 2014 +0100

    blocks/rotator: Make the input data 'const'
    
    The volk kernels are const and there is no reason to clobber the input
    
    Signed-off-by: Sylvain Munaut <address@hidden>
---
 gr-blocks/include/gnuradio/blocks/rotator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-blocks/include/gnuradio/blocks/rotator.h 
b/gr-blocks/include/gnuradio/blocks/rotator.h
index 7a63b46..9c3d9b6 100644
--- a/gr-blocks/include/gnuradio/blocks/rotator.h
+++ b/gr-blocks/include/gnuradio/blocks/rotator.h
@@ -57,7 +57,7 @@ namespace gr {
         return z;
       }
 
-      void rotateN(gr_complex *out, gr_complex *in, int n)
+      void rotateN(gr_complex *out, const gr_complex *in, int n)
       {
         volk_32fc_s32fc_x2_rotator_32fc(out, in, d_phase_incr, &d_phase, n);
       }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]