comparison liboctave/ODE.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
comparison
equal deleted inserted replaced
11503:b3f511c48b14 11504:81ff63e43f54
49 ODEFunc::operator = (a); 49 ODEFunc::operator = (a);
50 } 50 }
51 return *this; 51 return *this;
52 } 52 }
53 53
54 ~ODE (void) { } 54 virtual ~ODE (void) { }
55 55
56 // Derived classes must provide functions to actually do the 56 // Derived classes must provide functions to actually do the
57 // integration. 57 // integration.
58 58
59 // Return the vector of states at output time t. 59 // Return the vector of states at output time t.