Changeset 121


Ignore:
Timestamp:
Jul 21, 2010 12:24:53 PM (10 years ago)
Author:
kulshres
Message:

build fix for sparse without colpack.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/sparse/sparsedrivers.cpp

    r115 r121  
    977977    free(JP);
    978978
     979#ifdef HAVE_LIBCOLPACK
    979980    // yields segmentation fault, check again !!
    980981    // if (g)
     
    983984    if (jr1d)
    984985        delete (JacobianRecovery1D*)jr1d;
    985 
    986 }
    987 
     986#endif
     987}
    988988/*****************************************************************************/
    989989/*                                                 FREE SPARSE HESSIAN INFOS */
     
    10161016    free(HP);
    10171017
     1018#ifdef HAVE_LIBCOLPACK
    10181019    // yields segmentation fault, check again !!
    10191020    // // if (g)
     
    10221023    if (hr)
    10231024        delete (HessianRecovery*) hr;
    1024 
     1025#endif
    10251026}
    10261027
Note: See TracChangeset for help on using the changeset viewer.