IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1336


Ignore:
Timestamp:
Jul 29, 2004, 10:20:10 AM (22 years ago)
Author:
evanalst
Message:

Fix p_psConvertToF32 to handle case where already F32.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psStats.c

    r1332 r1336  
    18751875            tmp->data.F32[i] = (float) in->data.F64[i];
    18761876        }
     1877    } else if (in->type.type == PS_TYPE_F32) {
     1878        // do nothing
    18771879    } else {
    18781880        psAbort(__func__, "unsupported vector type 0x%x\n", in->type.type);
  • trunk/psLib/src/math/psStats.c

    r1333 r1336  
    18751875            tmp->data.F32[i] = (float) in->data.F64[i];
    18761876        }
     1877    } else if (in->type.type == PS_TYPE_F32) {
     1878        // do nothing
    18771879    } else {
    18781880        psAbort(__func__, "unsupported vector type 0x%x\n", in->type.type);
Note: See TracChangeset for help on using the changeset viewer.