Changeset 1818 in Sophya for trunk/ArchTOIPipe


Ignore:
Timestamp:
Dec 18, 2001, 12:11:28 AM (24 years ago)
Author:
aubourg
Message:

problem fitsreader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/fitstoirdr.cc

    r1801 r1818  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: fitstoirdr.cc,v 1.24 2001-11-30 15:02:04 aubourg Exp $
     5// $Id: fitstoirdr.cc,v 1.25 2001-12-17 23:11:28 aubourg Exp $
    66
    77#include "fitstoirdr.h"
     
    238238     if (implicitSN) {
    239239       if (ideb+implicitSNStart > mgr->getRequestedEnd()
    240            || ideb+implicitSNStart > forcedMaxIn) break;
     240           || (forcedMaxIn > 0 && ideb+implicitSNStart > forcedMaxIn)) break;
    241241       if (ifin+implicitSNStart < mgr->getRequestedBegin()
    242            || ifin+implicitSNStart < forcedMinIn) continue;
     242           || (forcedMinIn > 0 && ifin+implicitSNStart < forcedMinIn)) continue;
    243243       for (long j=0; j<Buff_Sz; j++) {
    244244         samplenum[j] = j+ideb+implicitSNStart;
     
    249249       fits_read_col_dbl(fptr,1,ideb+1,1,n,0,samplenum,&anyNul,&fstatus);
    250250       if (ideb+implicitSNStart > mgr->getRequestedEnd()
    251            || ideb+implicitSNStart > forcedMaxIn) {
     251           || (forcedMaxIn > 0 && ideb+implicitSNStart > forcedMaxIn)) {
    252252         fits_unlock();
    253253         break;
    254254       }
    255255       if (ifin+implicitSNStart < mgr->getRequestedBegin()
    256            || ifin+implicitSNStart < forcedMinIn) {
     256           || (forcedMinIn > 0 && ifin+implicitSNStart < forcedMinIn)) {
    257257         fits_unlock();
    258258         continue;
Note: See TracChangeset for help on using the changeset viewer.