diff liboctave/QP.h @ 1866:b6c48195b552

[project @ 1996-02-04 11:07:17 by jwe]
author jwe
date Sun, 04 Feb 1996 11:09:09 +0000
parents 620a65533630
children 1b57120c997b
line wrap: on
line diff
--- a/liboctave/QP.h
+++ b/liboctave/QP.h
@@ -51,7 +51,7 @@
       { make_h_symmetric (); }
 
   QP (const ColumnVector& x, const Matrix& H_arg, const LinConst& l)
-    : base_minimizer (x), H (H_arg), lc (l), bnds (), lc ()
+    : base_minimizer (x), H (H_arg), c (), bnds (), lc (l)
       { make_h_symmetric (); }
 
   QP (const ColumnVector& x, const Matrix& H_arg, const ColumnVector& c_arg,
@@ -91,7 +91,7 @@
       return *this;
     }
 
-  ~QP (void) { }
+  virtual ~QP (void) { }
 
   Matrix hessian (void) const { return H; }
 
@@ -101,8 +101,6 @@
 
   LinConst linear_constraints (void) const { return lc; }
 
-  virtual ~QP (void) { }
-
 protected:
 
   Matrix H;