Changeset 3086 for trunk


Ignore:
Timestamp:
11/25/15 17:57:18 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...


Suppress compiler warnings on debug build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STLineFinder.cpp

    r3085 r3086  
    11281128
    11291129  for (int n=edge.first;n<edge.second;n+=boxsize) {
    1130        DebugAssert(n<spectrum.nelements(),AipsError);
     1130       DebugAssert((uInt)n<spectrum.nelements(),AipsError);
    11311131       int nboxch=0; // number of channels currently in the box
    11321132       Float mean=0; // buffer for mean calculations
     
    11611161        throw AipsError("STLineFinder::getMask - a scan should be set first,"
    11621162                        " use set_scan followed by find_lines");
    1163       DebugAssert(mask.nelements()==scan->getChannels(last_row_used), AipsError);
     1163      DebugAssert(mask.nelements()==(uInt)scan->getChannels(last_row_used), AipsError);
    11641164    }
    11651165    /*
     
    12271227        throw AipsError("STLineFinder::getLineRangesInChannels - a scan should be set first,"
    12281228                        " use set_scan followed by find_lines");
    1229       DebugAssert(mask.nelements()==scan->getChannels(last_row_used), AipsError);
     1229      DebugAssert(mask.nelements()==(uInt)scan->getChannels(last_row_used), AipsError);
    12301230    }
    12311231
Note: See TracChangeset for help on using the changeset viewer.