summaryrefslogtreecommitdiff
path: root/ot/stochastic.py
diff options
context:
space:
mode:
authorKilian Fatras <kilianfatras@dhcp-206-12-52-205.eduroam.wireless.ubc.ca>2018-06-19 11:52:10 -0700
committerKilian Fatras <kilianfatras@dhcp-206-12-52-205.eduroam.wireless.ubc.ca>2018-06-19 11:52:10 -0700
commit7073e417bed151976c62fe20d1ba69abd30e7758 (patch)
treef4fcee3f4b9ef8c443a3d720c8c8e9e3a188d59b /ot/stochastic.py
parent52134e92e427c825b4aa0a24ac5e000232ebd707 (diff)
remove if in test and cleaned code
Diffstat (limited to 'ot/stochastic.py')
-rw-r--r--ot/stochastic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ot/stochastic.py b/ot/stochastic.py
index d3830d6..57b96b7 100644
--- a/ot/stochastic.py
+++ b/ot/stochastic.py
@@ -8,6 +8,8 @@ import numpy as np
##############################################################################
# Optimization toolbox for SEMI - DUAL problems
##############################################################################
+
+
def coordinate_grad_semi_dual(b, M, reg, beta, i):
'''
Compute the coordinate gradient update for regularized discrete