Fix Linter error

This commit is contained in:
Allen Guan
2020-10-26 15:22:50 +08:00
parent b505b6ba52
commit d496596324

View File

@@ -1,6 +1,7 @@
from .__init__ import *
import sympy
def stationaryPointsFunc(maxExp=3, maxCoef=10):
while True:
x = sympy.symbols('x')
@@ -18,4 +19,5 @@ def stationaryPointsFunc(maxExp=3, maxCoef=10):
problem = 'f(x)=' + str(problem).replace('**', '^')
return problem, solution
stationary_points = Generator("Stationary Points", 106, "f(x)=x^3-3x", "(-1,2),(1,-2)", stationaryPointsFunc)