Ignore:
Timestamp:
01/31/13 18:55:29 (11 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-4770

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: test_sdcal2

Put in Release Notes: No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Replace assert with casa::assert_ to avoid aborting casapy session.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/BufferedLinearInterpolator1D.tcc

    r2733 r2756  
    1111//
    1212#include <assert.h>
     13
     14#include <casa/Exceptions/Error.h>
     15#include <casa/Utilities/Assert.h>
    1316
    1417#include "BufferedLinearInterpolator1D.h"
     
    4346U BufferedLinearInterpolator1D<T, U>::interpolate(T x)
    4447{
    45   assert(this->isready());
     48  //assert(this->isready());
     49  assert_<casa::AipsError>(this->isready(), "object is not ready to process.");
    4650  if (this->n_ == 1)
    4751    return this->y_[0];
Note: See TracChangeset for help on using the changeset viewer.