Skip to content

Commit

Permalink
fix(test_goa): Fixes test_goa_social_force for Python 3.8 and 3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugarosa committed Sep 9, 2022
1 parent a65a6ed commit 468d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/opytimizer/optimizers/swarm/test_goa.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_goa_social_force():

r = new_goa._social_force(np.array([1, 1, 1]))

assert r[0] == -0.11117088165514633
assert np.round(r[0], 2) == -0.11


def test_goa_update():
Expand Down

0 comments on commit 468d401

Please sign in to comment.