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/PolynomialInterpolator1D.tcc

    r2733 r2756  
    1616
    1717#include <casa/Exceptions/Error.h>
     18#include <casa/Utilities/Assert.h>
    1819
    1920#include "PolynomialInterpolator1D.h"
     
    3334U PolynomialInterpolator1D<T, U>::interpolate(T x)
    3435{
    35   assert(this->isready());
     36  //casa::AlwaysAssert((this->isready()),(casa::AipsError));
     37  casa::assert_<casa::AipsError>(this->isready(), "object is not ready to process.");
    3638  if (this->n_ == 1)
    3739    return this->y_[0];
Note: See TracChangeset for help on using the changeset viewer.