summaryrefslogtreecommitdiff
path: root/ot/da.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-04-21 09:08:38 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-04-21 09:08:38 +0200
commitb33146062f847edd7c535a78535eae47058ba8fe (patch)
treea71ab3592862029aa0f01e0b30eed965806b2384 /ot/da.py
parentad693e32e78df399ccaea07402613813a6c4d8db (diff)
small normalization bug
Diffstat (limited to 'ot/da.py')
-rw-r--r--ot/da.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/da.py b/ot/da.py
index d607e50..44ce829 100644
--- a/ot/da.py
+++ b/ot/da.py
@@ -620,7 +620,7 @@ class OTDA(object):
self.wt=wt
self.M=dist(xs,xt,metric=self.metric)
- self.normalize()
+ self.normalizeM(norm)
self.G=emd(ws,wt,self.M)
self.computed=True