From d24c2496684e7122583007ba758b27172aa3f5d0 Mon Sep 17 00:00:00 2001 From: lukew3 Date: Mon, 26 Oct 2020 13:33:46 -0400 Subject: [PATCH] stationary point id fix --- mathgenerator/funcs/stationary_points.py | 3 ++- test.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mathgenerator/funcs/stationary_points.py b/mathgenerator/funcs/stationary_points.py index e248ca3..aee5475 100644 --- a/mathgenerator/funcs/stationary_points.py +++ b/mathgenerator/funcs/stationary_points.py @@ -20,4 +20,5 @@ def stationaryPointsFunc(maxExp=3, maxCoef=10): return problem, solution -stationary_points = Generator("Stationary Points", 106, "f(x)=x^3-3x", "(-1,2),(1,-2)", stationaryPointsFunc) +stationary_points = Generator("Stationary Points", 110, "f(x)=x^3-3x", + "(-1,2),(1,-2)", stationaryPointsFunc) diff --git a/test.py b/test.py index a7b941b..3eeff53 100644 --- a/test.py +++ b/test.py @@ -10,4 +10,4 @@ for item in list: print(item[2]) # print(mathgen.getGenList()) -print(mathgen.genById(109)) +print(mathgen.genById(110))