diff options
author | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-12 23:19:09 +0200 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2017-07-20 14:05:12 +0200 |
commit | da21b9888e77f7512727a4f50c60bd475e2c9606 (patch) | |
tree | 3291e5149101f51d73c32daa46d856321b9166dc /examples/plot_optim_OTreg.py | |
parent | 6d7fd7e9faffa777cef222bdfc48c7ad732ab950 (diff) |
pep8
Diffstat (limited to 'examples/plot_optim_OTreg.py')
-rw-r--r-- | examples/plot_optim_OTreg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/plot_optim_OTreg.py b/examples/plot_optim_OTreg.py index 1c3a1c5..e38253c 100644 --- a/examples/plot_optim_OTreg.py +++ b/examples/plot_optim_OTreg.py @@ -36,6 +36,7 @@ ot.plot.plot1D_mat(a, b, G0, 'OT matrix G0') #%% Example with Frobenius norm regularization + def f(G): return 0.5 * np.sum(G**2) |