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