IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2006, 3:01:34 PM (20 years ago)
Author:
drobbin
Message:

Updated files to reflect psArray, psVector, & psPixels changes in psLib that set n=0 upon allocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/models/pmModel_SGAUSS.c

    r5257 r6511  
    6464    *params_min = psVectorAlloc (9, PS_TYPE_F32);
    6565    *params_max = psVectorAlloc (9, PS_TYPE_F32);
     66    (*beta_lim)->n = (*beta_lim)->nalloc;
     67    (*params_min)->n = (*params_min)->nalloc;
     68    (*params_max)->n = (*params_max)->nalloc;
    6669
    6770    beta_lim[0][0].data.F32[0] = 1000;
     
    116119
    117120    psVector *contour = psVectorAlloc (Nt, PS_TYPE_F32);
     121    contour->n = contour->nalloc;
    118122    for (t = 0, N = 0; (t < 2*M_PI) && (N < Nt); t += dt) {
    119123        x = ct*axes.major*cos(t) + st*axes.minor*sin(t) + xo;
Note: See TracChangeset for help on using the changeset viewer.