diff --git a/docs/pyerrors/obs.html b/docs/pyerrors/obs.html
index 6a9dd037..47c84625 100644
--- a/docs/pyerrors/obs.html
+++ b/docs/pyerrors/obs.html
@@ -1185,7 +1185,7 @@
978
979def _format_uncertainty(value, dvalue, significance=2):
980 """Creates a string of a value and its error in paranthesis notation, e.g., 13.02(45)"""
- 981 if dvalue == 0.0:
+ 981 if dvalue == 0.0 or (not np.isfinite(dvalue)):
982 return str(value)
983 if not isinstance(significance, int):
984 raise TypeError("significance needs to be an integer.")