1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

set ballocated to false on reset

This commit is contained in:
Michael Buehlmann 2020-08-21 11:54:05 -05:00
parent b39ab2c10b
commit f59a079dd3

View file

@ -87,6 +87,7 @@ public:
if (data_ != nullptr) { fftw_free(data_); }
if (plan_ != nullptr) { fftw_destroy_plan(plan_); }
if (iplan_ != nullptr) { fftw_destroy_plan(iplan_); }
ballocated_ = false;
}
const grid_fft_t *get_grid(size_t ilevel) const { return this; }