From 7442a792ffc75ba48b35ceb77bdc4c54775c4143 Mon Sep 17 00:00:00 2001 From: fjosw Date: Fri, 3 Mar 2023 16:36:18 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/fits.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html index 0df35391..ac96d992 100644 --- a/docs/pyerrors/fits.html +++ b/docs/pyerrors/fits.html @@ -662,7 +662,7 @@ 554 for key in key_ls: 555 if not callable(funcd[key]): 556 raise TypeError('func (key=' + key + ') is not a function.') -557 if len(xd[key]) != len(yd[key]): +557 if np.asarray(xd[key]).shape[-1] != len(yd[key]): 558 raise Exception('x and y input (key=' + key + ') do not have the same length') 559 for i in range(100): 560 try: