changeset 21336:0dcc99afc25b

eliminate unused private data member * Quad.h (IndefQuad::integration_error, FloatDefQuad::integration_error): Delete unused private data member.
author John W. Eaton <jwe@octave.org>
date Wed, 24 Feb 2016 12:09:09 -0500
parents e078d2208d86
children cfe11042fbc0
files liboctave/numeric/Quad.h
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/numeric/Quad.h	Wed Feb 24 12:06:15 2016 -0500
+++ b/liboctave/numeric/Quad.h	Wed Feb 24 12:09:09 2016 -0500
@@ -164,10 +164,10 @@
   enum IntegralType { bound_to_inf, neg_inf_to_bound, doubly_infinite };
 
   IndefQuad (integrand_fcn fcn)
-    : Quad (fcn), bound (0.0), type (bound_to_inf), integration_error (0) { }
+    : Quad (fcn), bound (0.0), type (bound_to_inf) { }
 
   IndefQuad (integrand_fcn fcn, double b, IntegralType t)
-    : Quad (fcn), bound (b), type (t), integration_error (0) { }
+    : Quad (fcn), bound (b), type (t) { }
 
   ~IndefQuad (void) { }
 
@@ -181,7 +181,6 @@
 
   double bound;
   IntegralType type;
-  int integration_error;
 };
 
 class
@@ -230,10 +229,10 @@
   enum IntegralType { bound_to_inf, neg_inf_to_bound, doubly_infinite };
 
   FloatIndefQuad (float_integrand_fcn fcn)
-    : Quad (fcn), bound (0.0), type (bound_to_inf), integration_error (0) { }
+    : Quad (fcn), bound (0.0), type (bound_to_inf) { }
 
   FloatIndefQuad (float_integrand_fcn fcn, double b, IntegralType t)
-    : Quad (fcn), bound (b), type (t), integration_error (0) { }
+    : Quad (fcn), bound (b), type (t) { }
 
   ~FloatIndefQuad (void) { }
 
@@ -247,7 +246,6 @@
 
   float bound;
   IntegralType type;
-  int integration_error;
 };
 
 #endif