Commit a7817cb4 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix import: sympy.numbers -> sympy.core.numbers

parent e87b4daf
Pipeline #22782 failed with stage
in 9 minutes and 13 seconds
......@@ -260,8 +260,8 @@ def subs_additive(expr: sp.Expr, replacement: sp.Expr, subexpression: sp.Expr,
if not param_list:
return current_expr
if current_expr.func == sp.Mul and sp.numbers.Zero() in param_list:
return sp.numbers.Zero()
if current_expr.func == sp.Mul and sp.core.numbers.Zero() in param_list:
return sp.core.numbers.Zero()
return current_expr.func(*param_list, evaluate=False)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment