diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html
index 14824deb..bb34f8d4 100644
--- a/docs/pyerrors/fits.html
+++ b/docs/pyerrors/fits.html
@@ -279,12 +279,12 @@
168 '''
169 output = Fit_result()
170
-171 if (type(x) == dict and type(y) == dict and type(func) == dict):
+171 if (isinstance(x, dict) and isinstance(y, dict) and isinstance(func, dict)):
172 xd = {key: anp.asarray(x[key]) for key in x}
173 yd = y
174 funcd = func
175 output.fit_function = func
-176 elif (type(x) == dict or type(y) == dict or type(func) == dict):
+176 elif (isinstance(x, dict) or isinstance(y, dict) or isinstance(func, dict)):
177 raise TypeError("All arguments have to be dictionaries in order to perform a combined fit.")
178 else:
179 x = np.asarray(x)
@@ -1201,12 +1201,12 @@ Hotelling t-squared p-value for correlated fits.
169 '''
170 output = Fit_result()
171
-172 if (type(x) == dict and type(y) == dict and type(func) == dict):
+172 if (isinstance(x, dict) and isinstance(y, dict) and isinstance(func, dict)):
173 xd = {key: anp.asarray(x[key]) for key in x}
174 yd = y
175 funcd = func
176 output.fit_function = func
-177 elif (type(x) == dict or type(y) == dict or type(func) == dict):
+177 elif (isinstance(x, dict) or isinstance(y, dict) or isinstance(func, dict)):
178 raise TypeError("All arguments have to be dictionaries in order to perform a combined fit.")
179 else:
180 x = np.asarray(x)