Changeset 2756 for trunk/src/Interpolator1D.tcc
- Timestamp:
- 01/31/13 18:55:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Interpolator1D.tcc
r2733 r2756 14 14 #include <casa/Arrays/Vector.h> 15 15 #include <casa/Exceptions/Error.h> 16 #include <casa/Utilities/Assert.h> 16 17 17 18 #include "Interpolator1D.h" … … 52 53 void Interpolator1D<T, U>::setX(T *x, unsigned int n) 53 54 { 54 assert(n_ == 0 || n_ == n); 55 //assert(n_ == 0 || n_ == n); 56 casa::assert_<casa::AipsError>(n_ == 0 || n_ == n, "length mismatch in data."); 55 57 x_ = x; 56 58 n_ = n; … … 62 64 void Interpolator1D<T, U>::setY(U *y, unsigned int n) 63 65 { 64 assert(n_ == 0 || n_ == n); 66 //assert(n_ == 0 || n_ == n); 67 casa::assert_<casa::AipsError>(n_ == 0 || n_ == n, "length mismatch in data."); 65 68 y_ = y; 66 69 n_ = n;
Note: See TracChangeset
for help on using the changeset viewer.