Changeset 1661
- Timestamp:
- Dec 18, 2008, 5:11:21 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/interpolation_test.cc
r1656 r1661 33 33 #include <cmath> 34 34 35 using namespace theplu::yat; 36 void test_delete(test::Suite&); 37 35 38 int main(int argc, char* argv[]) 36 39 { 37 using namespace theplu::yat;38 40 using namespace theplu::yat::regression; 39 41 40 42 test::Suite suite(argc, argv); 43 test_delete(suite); 41 44 42 45 /* … … 105 108 return suite.return_value(); 106 109 } 110 111 void test_delete(test::Suite& suite) 112 { 113 utility::Vector x(10); 114 for (size_t i=0; i<x.size(); ++i) 115 x(i)=i; 116 regression::GSLInterpolation* ip = new regression::CSplineInterpolation(x,x); 117 delete ip; 118 } 119 -
trunk/yat/regression/GSLInterpolation.h
r1655 r1661 62 62 63 63 public: 64 /** 65 \brief The destructor 66 */ 67 virtual ~GSLInterpolation(void)=0; 68 64 69 /** 65 70 \brief Check the error status … … 169 174 const utility::VectorBase& y); 170 175 171 /**172 \brief The destructor173 */174 virtual ~GSLInterpolation(void);175 176 176 private: 177 177 /**
Note: See TracChangeset
for help on using the changeset viewer.