Changeset 12578


Ignore:
Timestamp:
06/28/12 09:12:47 (13 years ago)
Author:
utke
Message:

filter out the part that needs to be wrapped anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/Solverx/SolverxGsl.cpp

    r12493 r12578  
    4343        gsl_vector      *x = NULL;
    4444        gsl_permutation *p = NULL;
    45 
     45#ifdef _HAVE_ADOLC_
     46        // if we use Adol-C then the IssmDouble will be an adouble
     47        // and the calls to gsl_... will not work
     48        // and we should call  a suitable wrapped solve instead
     49        _error2_("SolverxGsl: should not be here with Adol-C");
     50#else
    4651        /*A will be modified by LU decomposition. Use copy*/
    4752        IssmDouble* Acopy = xNew<IssmDouble>(n*n);
     
    7075        gsl_vector_free(x);
    7176        *pX=X;
     77#endif
    7278}/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.