Skip to content

Commit 103dfe0

Browse files
committed
test check
1 parent fa98906 commit 103dfe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ot/gromov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def df(G):
348348
log['gw_dist'] = gwloss(constC, hC1, hC2, res)
349349
return res, log
350350
else:
351-
return cg(p, q, 0, 1, f, df, G0, amijo=amijo, **kwargs)
351+
return cg(p, q, 0, 1, f, df, G0, amijo=amijo, C1=C1, C2=C2, constC=constC, **kwargs)
352352

353353

354354
def fused_gromov_wasserstein(M, C1, C2, p, q, loss_fun='square_loss', alpha=0.5, amijo=False, **kwargs):

ot/optim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def phi(alpha1):
7373

7474

7575
def do_linesearch(cost, G, deltaG, Mi, f_val,
76-
amijo=False, C1=None, C2=None, reg=None, Gc=None, constC=None, M=None):
76+
amijo=True, C1=None, C2=None, reg=None, Gc=None, constC=None, M=None):
7777
"""
7878
Solve the linesearch in the FW iterations
7979
Parameters

0 commit comments

Comments
 (0)