Issues encountered with grid output in the 0.3.1 version

Hello! I am delighted to have discovered bempp as an invaluable aid for my computations.
But, when using 0.3.1, upon completing calculations and attempting to export the grid, an error is encountered:

Running this operation:

bempp.api.export('test1.msh', grid_function=boundary_fun)

An error is reported:
AssertionError: Incompatible cell data. 1 cell blocks, but ‘real’ has 342 blocks.

Then I try 0.2.4, and 0.2.4 successfully outputs the test1.msh file, I’m wondering if the new version introduces additional control parameters that might affect this. If so, could you please inform me? Thank you.

Hey, if you pass the transformation argument, it should work properly.

For example:

bempp.api.export('test1.msh', grid_function=boundary_fun, transformation="real")

Thank you for your assistance, it works!