06-03-2023, 09:43 AM
C is a very unsafe language and can be used only when you fully understand how the code works. Your C function does some bad things. Afterwards you'll notice some strange things happening in some unrelated places in QM and will be very difficult to find the reason.