Skip to content

Commit 17e6be8

Browse files
committed
Update
1 parent 308f932 commit 17e6be8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_ode-strogatz.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def test_d_lv2():
319319

320320
assert(len(model.bestExpressions) == 1)
321321
assert(sr.expr_eq(sympy.expand(model.bestExpressions[0][0]), sympy.sympify("2*y-x*y-y**2")))
322-
"""
322+
323323
def test_d_predprey1():
324324
label, x, y = file_data("https://raw.githubusercontent.com/lacava/ode-strogatz/master/d_predprey1.txt")
325325

@@ -339,7 +339,6 @@ def test_d_predprey1():
339339
binary_operators = {"*": (operator.mul, operator.mul),
340340
"+": (operator.add, operator.add),
341341
"/": (operator.truediv, operator.truediv)},
342-
discrete_param_values = ["(-1, 1)", 4],
343342
operator_depth = {"/": 1, "*": 2, "+": 4},
344343
maxcomplexity = 25,
345344
#callback = callback,
@@ -370,7 +369,6 @@ def test_d_predprey2():
370369
binary_operators = {"*": (operator.mul, operator.mul),
371370
"+": (operator.add, operator.add),
372371
"/": (operator.truediv, operator.truediv)},
373-
discrete_param_values = ["(-1, 1)", -0.075, 0.075],
374372
operator_depth = {"/": 1, "*": 2, "+": 2},
375373
#callback = callback,
376374
#monothread = True,
@@ -380,7 +378,7 @@ def test_d_predprey2():
380378

381379
assert(len(model.bestExpressions) == 1)
382380
assert(sr.expr_eq(sympy.expand(model.bestExpressions[0][0]), sympy.expand(sympy.simplify(sympy.sympify("y*(x/(1+x)-0.075*y)")))))
383-
"""
381+
384382
def test_d_shearflow1():
385383
label, x, y = file_data("https://raw.githubusercontent.com/lacava/ode-strogatz/master/d_shearflow1.txt")
386384

0 commit comments

Comments
 (0)