diff liboctave/DAERT.h @ 11504:81ff63e43f54

really make destuctors virtual in ODE/DAE base classes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 03:28:21 -0500
parents cbc402e64d83
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/DAERT.h	Thu Jan 13 03:27:29 2011 -0500
+++ b/liboctave/DAERT.h	Thu Jan 13 03:28:21 2011 -0500
@@ -56,7 +56,7 @@
       return *this;
     }
 
-  ~DAERT (void) { }
+  virtual ~DAERT (void) { }
 
   void initialize (const ColumnVector& xx, const ColumnVector& xxdot,
                    double tt)