Changeset 12887


Ignore:
Timestamp:
02/13/12 10:29:39 (13 years ago)
Author:
lyard
Message:
fixed problem with sub-column selection
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fitsdump.cc

    r12886 r12887  
    210210
    211211        const uint32_t first = val0.empty() ? 0 : atoi(val0.c_str());
    212         const uint32_t last  = val0.empty()==delim.empty() ? col.num-1 : (val1.empty() ? first : atoi(val1.c_str()));
     212        const uint32_t last  = (val0.empty() && delim.empty()) ? col.num-1 : (val1.empty() ? first : atoi(val1.c_str()));
    213213
    214214        if (first>=col.num)
Note: See TracChangeset for help on using the changeset viewer.