chalmersplasmatheory/DREAM

Pitch grid edges deallocated from memory if using `ds.hottailgrid.setCustomGrid(xi_f=...)` resulting in error in ther `dreami` executable

Closed this issue · 1 comments

The error was

*** Error in `/DREAM/build/iface/dreami': double free or corruption (!prev): 0x0000000001de6f40 ***

The problem was in line 25 in "fvm/Grid/PXiGrid/XiCustomGridGenerator.cpp". Commenting this line and rebuilding DREAM fixed this issue.

Also the PCustomGridGenerator class has the same bug.