Skip to content

Commit

Permalink
Merge remote-tracking branch 'andbue/next' into next
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
thvitt committed Sep 26, 2017
2 parents 45bad56 + d5a6660 commit 6347461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delta/deltas.py
Expand Up @@ -586,7 +586,7 @@ def __call__(self, corpus):
dm = pairwise_distances(corpus, metric=self.metric, n_jobs=-1, **self.kwargs)
if self.fix_symmetry:
dm = np.tril(dm, -1)
dm += dm.T
dm = dm + dm.T
df = pd.DataFrame(data=dm, index=corpus.index, columns=corpus.index)
if self.scale:
df = df / corpus.columns.size
Expand Down

0 comments on commit 6347461

Please sign in to comment.