Skip to content

Commit

Permalink
Merge pull request Trusted-AI#84 from IBM/fix_lfr_distances_shapes
Browse files Browse the repository at this point in the history
fix lfr helper with correct dists shape.
  • Loading branch information
nrkarthikeyan authored Jun 6, 2019
2 parents 7010561 + 006cf2a commit cd418e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aif360/algorithms/preprocessing/lfr_helpers/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@jit
def distances(X, v, alpha, N, P, k):
dists = np.zeros((N, P))
dists = np.zeros((N, k))
for i in range(N):
for p in range(P):
for j in range(k):
Expand Down

0 comments on commit cd418e3

Please sign in to comment.