lint fixes

This commit is contained in:
lukew3
2023-05-30 09:27:23 -04:00
parent ecddec6e3b
commit 6d0841ef24
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ def stationary_points(max_exp=3, max_coef=10):
problem += coefficient * pow(x, exp)
solution = sympy.stationary_points(problem, x)
problem = 'f(x)=' + str(problem).replace('**', '^').replace('*','')
problem = 'f(x)=' + str(problem).replace('**', '^').replace('*', '')
return f'${problem}$', f'${sympy.latex(solution)[6:-8]}}}$'