commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 30/37: qtgui: minor fix to how number sink


From: git
Subject: [Commit-gnuradio] [gnuradio] 30/37: qtgui: minor fix to how number sink handles autoscale.
Date: Thu, 17 Jul 2014 20:23:44 +0000 (UTC)

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

trondeau pushed a commit to branch master
in repository gnuradio.

commit e098a2920eef90e0227da502686551114f7c1db4
Author: Tom Rondeau <address@hidden>
Date:   Sat Jul 12 13:51:11 2014 -0400

    qtgui: minor fix to how number sink handles autoscale.
---
 gr-qtgui/lib/numberdisplayform.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gr-qtgui/lib/numberdisplayform.cc 
b/gr-qtgui/lib/numberdisplayform.cc
index 0fb30cd..0dd433c 100644
--- a/gr-qtgui/lib/numberdisplayform.cc
+++ b/gr-qtgui/lib/numberdisplayform.cc
@@ -457,8 +457,8 @@ NumberDisplayForm::autoScale(bool on)
 
   // Reset the autoscale limits
   for(int i = 0; i < d_nplots; i++) {
-    d_min.push_back(+1e32);
-    d_max.push_back(-1e32);
+    d_min[i] = +1e32;
+    d_max[i] = -1e32;
   }
 }
 



reply via email to

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