IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2005, 2:55:18 PM (20 years ago)
Author:
gusciora
Message:

Replaced psVectorCopy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imsubtract/pmSubtractBias.c

    r5516 r5552  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-11-15 20:09:03 $
     8 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-11-19 00:55:18 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    304304    }
    305305
    306     out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
     306    // XXX: use psVectorCopy if they get it working.
     307    out->knots = psVectorAlloc(in->knots->n, in->knots->type.type);
     308    for (psS32 i = 0 ; i < in->knots->n ; i++) {
     309        out->knots->data.F32[i] = in->knots->data.F32[i];
     310    }
     311    /*
     312        out->knots = psVectorCopy(out->knots, in->knots, in->knots->type.type);
     313    */
    307314
    308315    out->p_psDeriv2 = (psF32 *) psAlloc((in->n + 1) * sizeof(psF32));
     
    11841191    if (overscan == true) {
    11851192        pmOverscanAxis overScanAxis = GetOverscanAxis(in);
    1186 
    11871193        //
    11881194        //  Create a psStats data structure and determine the highest
Note: See TracChangeset for help on using the changeset viewer.