Changeset 2425 for trunk/src


Ignore:
Timestamp:
03/05/12 17:17:53 (13 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes:

Module(s): sd

Description: sd.linefinder did not run in case sd.linefinder().set_options() executed after sd.linefinder().set_data() while it did when set_options() executed before set_data(). This is because of the wrong position of a command (useScantable=true;) in the C++ code. Moved it to a more proper place.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STLineFinder.cpp

    r2410 r2425  
    886886STLineFinder::STLineFinder() throw() : edge(0,0)
    887887{
     888  useScantable = true;
    888889  setOptions();
    889890}
     
    925926  itsNoiseBox = in_noise_box;
    926927  itsUseMedian = in_median;
    927 
    928   useScantable = true;
    929928}
    930929
     
    936935  scan=in_scan.getCP();
    937936  AlwaysAssert(!scan.null(),AipsError);
     937  useScantable = true;
    938938}
    939939
Note: See TracChangeset for help on using the changeset viewer.