diff libinterp/corefcn/pr-flt-fmt.h @ 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 796f54d4ddbf
children
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;