Kernel crash when using normals with region on latest master

Hello everyone,

I was testing out the latest master, specifically the feature of using a region argument in specialcf.normal. I am experiencing a kernel crash when trying to get the normals for one of the 2 materials in my mesh. I’ve attached a minimal working example that crashes on my end.

I tried both on the stable release and the latest ‘6.2.2403-5-ga3ef84fc4’.

Is this a misunderstanding on my part regarding the usability of the region functionality?

All the best,

min_example_normals_region_crash.ipynb (3.0 KB)

should be fixed on upcoming ngsolve master