Fix NaNs in pdf output breaking rendering

Benjamin Fischer requested to merge fix_nan_in_pdf into master

Avoids propagation of NaNs into the output PDF files via the impact error bars by flipping comparisons such that the always falsey comparison with NaN results into the default values.

This caused rendering issues on some platforms, e.g.:


Merge request reports