Skip to content

Commit

Permalink
failing test solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadrien committed Jun 3, 2024
1 parent 99bd729 commit c8fad56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def test_simple_simulation(steppercls):
@pytest.mark.parametrize("steppercls", [fl.simulations.EulerStepper])
def test_simple_simulation2d(steppercls):

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

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

0 comments on commit c8fad56

Please sign in to comment.