Bug: When calling sparse_gp_calculator, in the calculate function when the mean_efs is stored into self.results, the pointer to structure_descriptors seems to be kept, and is not destroyed when the gp_calc is altered. Then the memory of the descriptors (and derivatives) is not released, and is accumulated until blowing up.
Fix: the solution is to save the deepcopy of mean_efs to self.results.
Bug: When calling
sparse_gp_calculator
, in thecalculate
function when themean_efs
is stored intoself.results
, the pointer tostructure_descriptors
seems to be kept, and is not destroyed when thegp_calc
is altered. Then the memory of the descriptors (and derivatives) is not released, and is accumulated until blowing up.Fix: the solution is to save the
deepcopy
ofmean_efs
toself.results
.