Skip to content

Commit c8fad56

Browse files
author
Hadrien
committed
failing test solved
1 parent 99bd729 commit c8fad56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_simulation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ def test_simple_simulation(steppercls):
2222
@pytest.mark.parametrize("steppercls", [fl.simulations.EulerStepper])
2323
def test_simple_simulation2d(steppercls):
2424

25-
data = np.linspace(-1, 1, 24).reshape(-1, 2)
26-
fun = fl.functions.Polynomial(deg=3, domain=fl.Domain.Rd(2)).fit(data, y=data)
25+
fun = fl.functions.Polynomial(deg=3, domain=fl.Domain.Rd(2))
2726
model = fl.models.Overdamped(fun)
2827

2928
simu_engine = fl.Simulator(steppercls(model), 1e-3)

0 commit comments

Comments
 (0)