IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1107


Ignore:
Timestamp:
Jun 25, 2004, 3:12:22 PM (22 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib
Files:
4 edited

Legend:

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

    r1103 r1107  
    193193                        gsl_matrix *J)
    194194{
     195    return 0;
    195196    gsl_function_f(x, params, f);
    196197    gsl_function_df(x, params, J);
     
    230231    gsl_multifit_fdfsolver *s; // GSL data structure.
    231232
    232     //    inputData = (psModelData *) psAlloc(sizeof(psModelData));
    233233    psModelData inputData;
    234234    inputData.n = numData;
     
    293293    s = gsl_multifit_fdfsolver_alloc(T, numData, inputData.count);
    294294
    295     printf("HERE 04\n");
     295    printf("HERE 04 (HMMM)\n");
    296296    // Initialize the GSL minimizer to use function defined by the data
    297297    // structure "f" and x.vector as an initial guess for the parameters.
     298    psMemCheckCorruption(1);
     299    printf("HERE 05 (HMMM)\n");
    298300    gsl_multifit_fdfsolver_set(s, &f, &x.vector);
    299 
    300 
    301     printf("HERE 05\n");
    302301    // Each iteration of the following loop will perform one step in an
    303302    // attempt to minimized chi-squared for the function.  The loop exits
    304303    // either when the change in parameters is small enough, or when the
    305304    // maximum number of iterations is reached.
     305    printf("HERE 06.0\n");
    306306    do {
    307307        iter++;
  • trunk/psLib/src/math/psMinimize.c

    r1103 r1107  
    193193                        gsl_matrix *J)
    194194{
     195    return 0;
    195196    gsl_function_f(x, params, f);
    196197    gsl_function_df(x, params, J);
     
    230231    gsl_multifit_fdfsolver *s; // GSL data structure.
    231232
    232     //    inputData = (psModelData *) psAlloc(sizeof(psModelData));
    233233    psModelData inputData;
    234234    inputData.n = numData;
     
    293293    s = gsl_multifit_fdfsolver_alloc(T, numData, inputData.count);
    294294
    295     printf("HERE 04\n");
     295    printf("HERE 04 (HMMM)\n");
    296296    // Initialize the GSL minimizer to use function defined by the data
    297297    // structure "f" and x.vector as an initial guess for the parameters.
     298    psMemCheckCorruption(1);
     299    printf("HERE 05 (HMMM)\n");
    298300    gsl_multifit_fdfsolver_set(s, &f, &x.vector);
    299 
    300 
    301     printf("HERE 05\n");
    302301    // Each iteration of the following loop will perform one step in an
    303302    // attempt to minimized chi-squared for the function.  The loop exits
    304303    // either when the change in parameters is small enough, or when the
    305304    // maximum number of iterations is reached.
     305    printf("HERE 06.0\n");
    306306    do {
    307307        iter++;
  • trunk/psLib/test/dataManip/Makefile

    r1099 r1107  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.19 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-25 23:28:31 $
     5##  $Revision: 1.20 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-26 01:12:22 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737 tst_psFunc00 \
    3838 tst_psFunc01 \
     39 tst_psMinimize00 \
    3940 tst_psImageStats00 \
    4041 tst_psImageStats01 \
     
    6768tst_psFunc02:           tst_psFunc02.o
    6869tst_psFunc03:           tst_psFunc03.o
     70tst_psMinimize00:       tst_psMinimize00.o
    6971tst_psImageStats00:     tst_psImageStats00.o
    7072tst_psImageStats01:     tst_psImageStats01.o
  • trunk/psLib/test/image/tst_psImageStats03.c

    r1078 r1107  
    7171    /*  Deallocate data structures                                   */
    7272    /*************************************************************************/
    73     psImageFree(tmpImage);
     73    // GUS: replace with psFree()?
     74    //    psImageFree(tmpImage);
    7475
    7576    psMemCheckCorruption(1);
Note: See TracChangeset for help on using the changeset viewer.