Skip to content

Commit

Permalink
Merge branch 'main' into b16
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsrey authored Jan 16, 2025
2 parents 48b18e5 + 9655a59 commit 5c6ea81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inequality/tests/test_theil.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ def test___init__(self):
]
),
)
y = numpy.array([0,0,0,10,10,10])
regions = numpy.array([0,0,0,1,1,1])

y = numpy.array([0, 0, 0, 10, 10, 10])
regions = numpy.array([0, 0, 0, 1, 1, 1])
theil_d = TheilD(y, regions)
numpy.testing.assert_almost_equal(theil_d.T, 0.6931471805599453)
numpy.testing.assert_almost_equal(theil_d.bg, 0.6931471805599453)
Expand Down

0 comments on commit 5c6ea81

Please sign in to comment.