From a096f48063dddcc080384f585e0bdc075d72da9d Mon Sep 17 00:00:00 2001
From: Ron Economos <w6rz@comcast.net>
Date: Fri, 13 Nov 2020 03:59:07 -0800
Subject: [PATCH 4/4] gnuradio-runtime: Fix qa_fast_atan2f test code.

---
 gnuradio-runtime/lib/math/qa_fast_atan2f.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
+++ b/gnuradio-runtime/lib/math/qa_fast_atan2f.cc
@@ -37,19 +37,19 @@
 
 BOOST_AUTO_TEST_CASE(t1)
 {
-    static const unsigned int N = 100;
+    static const int N = 100;
     float c_atan2;
     float gr_atan2f;
 
     for (float i = -N / 2; i < N / 2; i++) {
-        for (float j = -N / 2; i < N / 2; i++) {
+        for (float j = -N / 2; j < N / 2; j++) {
             float x = i / 10.0;
             float y = j / 10.0;
             c_atan2 = atan2(y, x);
 
             gr_atan2f = gr::fast_atan2f(y, x);
 
-            BOOST_CHECK_CLOSE(c_atan2, gr_atan2f, 0.0);
+            BOOST_CHECK_CLOSE(c_atan2, gr_atan2f, 0.001);
         }
     }
 }
