When testing `fitter.perform_profile_scan()` for binned likelihood, I encountered a segmentation fault when a bin had empty contents. It would be helpful to detect this case earlier and raise a clear error instead.
When testing
fitter.perform_profile_scan()for binned likelihood, I encountered a segmentation fault when a bin had empty contents.It would be helpful to detect this case earlier and raise a clear error instead.