Skip to content

Commit

Permalink
🐛 修复文档展示私有对象
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Aug 29, 2024
1 parent a6ddc8e commit 4df41a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mbcp/mp_math/equation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_partial_derivative_func(func: MultiVarsFunc, var: int | tuple[int, ...],
Raises:
ValueError: 无效变量类型
"""
# 内部函数不注释,以防止生成文档
if isinstance(var, int):
def partial_derivative_func(*args: Var) -> Var:
args_list_plus = list(args)
Expand Down

0 comments on commit 4df41a1

Please sign in to comment.