Changeset 1675


Ignore:
Timestamp:
01/15/10 19:37:26 (15 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-1799

Ready to Release: Yes

Interface Changes: 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...

Bug fix.
Value of SRCTYPE for ON and OFF are reversed.
SRCTYPE is 0 for ON scans, while 1 for OFF scans.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/src/STMath.cpp

    r1674 r1675  
    34163416    // off scan
    34173417    STSelector sel = STSelector() ;
    3418     string taql = "SELECT FROM $1 WHERE SRCTYPE == 0" ;
     3418    string taql = "SELECT FROM $1 WHERE SRCTYPE == 1" ;
    34193419    sel.setTaQL( taql ) ;
    34203420    s->setSelection( sel ) ;
     
    34643464    CountedPtr<Scantable> out = getScantable( s, true ) ;
    34653465    insitu_ = insitu ;
    3466     taql = "SELECT FROM $1 WHERE SRCTYPE == 1" ;
     3466    taql = "SELECT FROM $1 WHERE SRCTYPE == 0" ;
    34673467    sel.setTaQL( taql ) ;
    34683468    s->setSelection( sel ) ;
Note: See TracChangeset for help on using the changeset viewer.