IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:31:38 AM (14 years ago)
Author:
eugene
Message:

re-enable MODEL_VAR option for linear photometry fit

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r32941 r34085  
    118118    assert(concept);
    119119    assert(cell);
    120     assert(concept->type == PS_TYPE_F32);
     120    assert(concept->type == PS_DATA_F32);
    121121
    122122    float rn = concept->data.F32;       // Read noise
     
    930930    psFree(timesysName);
    931931
    932     if (!item || item->type != PS_TYPE_S32) {
     932    if (!item || item->type != PS_DATA_S32) {
    933933        psWarning("Unable to find %s --- assuming UTC", timesysName);
    934934        return PS_TIME_UTC;
     
    12581258#endif
    12591259      default:
    1260         if (concept->type == PS_TYPE_F32 && concept->data.F32 - (int)concept->data.F32 == 0) {
     1260        if (concept->type == PS_DATA_F32 && concept->data.F32 - (int)concept->data.F32 == 0) {
    12611261            offset = concept->data.F32;
    1262         } else if (concept->type == PS_TYPE_F64 && concept->data.F64 - (int)concept->data.F64 == 0) {
     1262        } else if (concept->type == PS_DATA_F64 && concept->data.F64 - (int)concept->data.F64 == 0) {
    12631263            offset = concept->data.F64;
    12641264        } else {
     
    15581558    assert(cameraFormat);
    15591559
    1560     if (concept->type != PS_TYPE_S32) {
     1560    if (concept->type != PS_DATA_S32) {
    15611561        psError(PS_ERR_UNKNOWN, true, "Concept %s is not of type S32, as expected.\n", concept->name);
    15621562        return NULL;
Note: See TracChangeset for help on using the changeset viewer.