Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SaturationDistanceMaximizer.cpp

    ra1d1dd r185e6f  
    117117  my_func.df = &jacf;
    118118  my_func.fdf = &funcjacf;
    119   my_func.params = getAdvocate();
     119  SaturationDistanceMaximizer::Advocate* const advocate = getAdvocate();
     120  my_func.params = advocate;
    120121
    121122  // allocate argument and set to zero
     
    158159  // free memory
    159160  gsl_multimin_fdfminimizer_free(s);
     161  my_func.params = NULL;
     162  delete advocate;
    160163  gsl_vector_free(x);
    161164}
Note: See TracChangeset for help on using the changeset viewer.