Merge branch 'wip/grc/cleanup' of http://gnuradio.org/git/jblum
[debian/gnuradio] / gnuradio-core / src / lib / general / gr_math.h
index f1bd208b8c4c9b7d2b48193d99dbb25f9a5e8734..ea0f200277e1ccecbb69e06be6d51afdaba0d9e1 100644 (file)
@@ -50,7 +50,7 @@ int gr_signbit (double x);
   
 /*!
  * \brief Fast arc tangent using table lookup and linear interpolation
- * \ingroup math
+ * \ingroup misc
  *
  * \param y component of input vector
  * \param x component of input vector
@@ -82,7 +82,7 @@ static inline float gr_branchless_clip(float x, float clip)
 
 static inline float gr_clip(float x, float clip)
 {
-  float y;
+  float y = x;
   if(x > clip)
     y = clip;
   else if(x < -clip)