IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2004, 1:37:39 PM (22 years ago)
Author:
desonia
Message:

found the server astyle upgrade was faulty, so the format was reset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psBitSet.c

    r1172 r1385  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-07-01 21:48:11 $
     12 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-08-04 23:37:39 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    126126        psError(__func__, " : Line %d - Null psBitSet for inBitSet argument", __LINE__);
    127127        return inBitSet;
    128     } else if(bit < 0) {
    129         psError(__func__, " : Line %d - Bit position too small: %d", __LINE__, bit);
    130         return inBitSet;
    131     } else if(bit > inBitSet->n*8-1) {
    132         psError(__func__, " : Line %d - Bit position too large: %d", __LINE__, bit);
    133         return inBitSet;
    134     }
     128    } else
     129        if(bit < 0) {
     130            psError(__func__, " : Line %d - Bit position too small: %d", __LINE__, bit);
     131            return inBitSet;
     132        } else
     133            if(bit > inBitSet->n*8-1) {
     134                psError(__func__, " : Line %d - Bit position too large: %d", __LINE__, bit);
     135                return inBitSet;
     136            }
    135137
    136138    // Variable byte is the byte in the array that contains the bit to be set
     
    148150        psError(__func__, " : Line %d - Null psBitSet for inBitSet argument", __LINE__);
    149151        return 0;
    150     } else if(bit < 0) {
    151         psError(__func__, " : Line %d - Bit position too small: %d", __LINE__, bit);
    152         return 0;
    153     } else if(bit > inBitSet->n*8-1) {
    154         psError(__func__, " : Line %d - Bit position too large: %d", __LINE__, bit);
    155         return 0;
    156     }
     152    } else
     153        if(bit < 0) {
     154            psError(__func__, " : Line %d - Bit position too small: %d", __LINE__, bit);
     155            return 0;
     156        } else
     157            if(bit > inBitSet->n*8-1) {
     158                psError(__func__, " : Line %d - Bit position too large: %d", __LINE__, bit);
     159                return 0;
     160            }
    157161
    158162    // Variable byte is the byte in the array that contains the bit to be tested
Note: See TracChangeset for help on using the changeset viewer.