From b33146062f847edd7c535a78535eae47058ba8fe Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Fri, 21 Apr 2017 09:08:38 +0200 Subject: small normalization bug --- ot/da.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot') 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 -- cgit v1.2.3