From d027d4b862eb7312a5a66e483d698f58152a6c25 Mon Sep 17 00:00:00 2001 From: snowy Date: Thu, 29 Aug 2024 18:56:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=96=B0=E5=A2=9E=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E6=9F=AF=E9=87=8C=E5=8C=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mbcp/mp_math/equation.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mbcp/mp_math/equation.py b/mbcp/mp_math/equation.py index 63fda40..869f9bc 100644 --- a/mbcp/mp_math/equation.py +++ b/mbcp/mp_math/equation.py @@ -63,14 +63,7 @@ def get_partial_derivative_func(func: MultiVarsFunc, var: int | tuple[int, ...], # 内部函数不注释,以防止生成文档 if isinstance(var, int): def partial_derivative_func(*args: Var) -> Var: - """ - @litedoc-hide - Args: - *args: - - Returns: - - """ + """@litedoc-hide""" args_list_plus = list(args) args_list_plus[var] += epsilon args_list_minus = list(args)