Skip to content

Commit

Permalink
fix: comparing DFs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamamer20 committed Oct 1, 2024
1 parent 284163b commit 2806466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sugarscape_ig/performance_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def plot_and_print_benchmark(


def polars_equality_check(a: SugarscapePolars, b: SugarscapePolars):
assert_frame_equal(a.agents, b.agents, check_row_order=False)
assert_frame_equal(a.space, b.space, check_row_order=False)
assert_frame_equal(a.space.agents, b.space.agents, check_row_order=False)
assert_frame_equal(a.space.cells, b.space.cells, check_row_order=False)
return True


Expand Down

0 comments on commit 2806466

Please sign in to comment.