diff options
author | Nicolas Courty <Nico@MacBook-Pro-de-Nicolas.local> | 2016-11-09 00:15:10 +0100 |
---|---|---|
committer | Nicolas Courty <Nico@MacBook-Pro-de-Nicolas.local> | 2016-11-09 00:15:10 +0100 |
commit | 530eb0413f9c3cf3305ea5154ac4286c91665302 (patch) | |
tree | 1fe31c88336b363faa81f3301c3e331e2b3a4d68 /ot/optim.py | |
parent | 22036bd9db2cd5cc8329b27ca740ff4d9c114fb7 (diff) |
da with GL
Diffstat (limited to 'ot/optim.py')
-rw-r--r-- | ot/optim.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/optim.py b/ot/optim.py index d807824..760b3c6 100644 --- a/ot/optim.py +++ b/ot/optim.py @@ -304,7 +304,7 @@ def gcg(a,b,M,reg1,reg2,f,df,G0=None,numItermax = 10,numInnerItermax = 200,stopT deltaG=Gc-G # line search - dcost=Mi+reg1*np.sum(deltaG*(1+np.log(G))) #?? + dcost=Mi+reg1*(1+np.log(G)) #?? alpha,fc,f_val = line_search_armijo(cost,G,deltaG,dcost,f_val) G=G+alpha*deltaG |