changeset 31061:b5902106c043 stable

Fix display in Variable Editor when fixed_point_format is on (bug #62544) * pr-flt-fmt.h (class float_display_format): Initialize "m_scale" variable to 1.0.
author John W. Eaton <jwe@octave.org>
date Thu, 02 Jun 2022 08:05:49 -0700
parents 201e29541ef5
children b437597ec652 b4a6ea55154f
files libinterp/corefcn/pr-flt-fmt.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/pr-flt-fmt.h	Thu Jun 02 14:47:55 2022 +0200
+++ b/libinterp/corefcn/pr-flt-fmt.h	Thu Jun 02 08:05:49 2022 -0700
@@ -243,7 +243,7 @@
 
 private:
 
-  double m_scale;
+  double m_scale = 1.0;
 
   float_format m_real_fmt;