- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Fragmentation/Exporters/SaturationDistanceMaximizer.cpp
ra1d1dd r185e6f 117 117 my_func.df = &jacf; 118 118 my_func.fdf = &funcjacf; 119 my_func.params = getAdvocate(); 119 SaturationDistanceMaximizer::Advocate* const advocate = getAdvocate(); 120 my_func.params = advocate; 120 121 121 122 // allocate argument and set to zero … … 158 159 // free memory 159 160 gsl_multimin_fdfminimizer_free(s); 161 my_func.params = NULL; 162 delete advocate; 160 163 gsl_vector_free(x); 161 164 }
Note:
See TracChangeset
for help on using the changeset viewer.