Changeset 2682 for trunk


Ignore:
Timestamp:
10/24/12 18:46:42 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: 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...

Fixed a bug on an interpretation of TableType, which was inverted
(when user specify Plain, MemoryTable is created and vice versa).
Now it is properly handled.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STGrid.cpp

    r2678 r2682  
    21142114ScantableWrapper STGrid2::getResultAsScantable( int tp )
    21152115{
    2116   Table::TableType ttype = (tp==0) ? Table::Memory : Table::Plain ;
    2117   ScantableWrapper sw( ttype ) ;
     2116  ScantableWrapper sw( tp ) ;
    21182117  CountedPtr<Scantable> s = sw.getCP() ;
    21192118  s->setHeader( dataList_[0].getCP()->getHeader() ) ;
Note: See TracChangeset for help on using the changeset viewer.