psrstat is segfaulting on many (but not all) psrfits files again, when run with no options other than the filename. I have not yet dug into what is going on. The same example file that was attached to issue 451 for a similar problem a few years ago also shows the current problem.
Diff:
Hi Paul, sorry about the bug. I've checked in a fix:
[master c33bf2843] bugs/482 template function median returns nan if input array is empty
Thanks for the quick fix, Willem. I can confirm that it fixes the issue on my system.