Crash when using Interference2DParaCrystal, integrate over Xi

To reproduce:

Have a GISAS instrument

Use the included standard sample "Interference 2D paracrystal"

Run simulation -> CRASH

The crash happens here:

image

If "no integration over xi" is selected, the crash disappears.

This happens in V1.18 and also in the current develop version

Edited by m.puchner