Changeset 3340 in Sophya for trunk/SophyaLib/TArray/matharr.h


Ignore:
Timestamp:
Oct 5, 2007, 2:13:07 PM (18 years ago)
Author:
cmv
Message:

add virtual destructor for g++ >4. cmv 05/10/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/matharr.h

    r2322 r3340  
    1212namespace SOPHYA {
    1313
    14 //! Class for simple mathematical operation on arrays 
     14//! Class for simple mathematical operation on arrays
    1515template <class T>
    1616class MathArray {
    1717public:
    18 // Applying a function
     18  virtual ~MathArray(void) {};
     19
     20// Applying a function 
    1921  // Replaces the input array content with the result f(x)
    2022  virtual TArray<T>&  ApplyFunctionInPlace(TArray<T> & a, Arr_DoubleFunctionOfX f);
     
    115117class ComplexMathArray {
    116118public:
     119  virtual ~ComplexMathArray(void) {};
     120
    117121// Applying a function
    118122  // Replaces the input array content with the result f(x)
Note: See TracChangeset for help on using the changeset viewer.