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:
parent
b39ab2c10b
commit
f59a079dd3
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ public:
|
||||||
if (data_ != nullptr) { fftw_free(data_); }
|
if (data_ != nullptr) { fftw_free(data_); }
|
||||||
if (plan_ != nullptr) { fftw_destroy_plan(plan_); }
|
if (plan_ != nullptr) { fftw_destroy_plan(plan_); }
|
||||||
if (iplan_ != nullptr) { fftw_destroy_plan(iplan_); }
|
if (iplan_ != nullptr) { fftw_destroy_plan(iplan_); }
|
||||||
|
ballocated_ = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const grid_fft_t *get_grid(size_t ilevel) const { return this; }
|
const grid_fft_t *get_grid(size_t ilevel) const { return this; }
|
||||||
|
|
Loading…
Reference in a new issue