diff options
author | Kilian Fatras <kilianfatras@dhcp-206-12-52-205.eduroam.wireless.ubc.ca> | 2018-06-19 11:52:10 -0700 |
---|---|---|
committer | Kilian Fatras <kilianfatras@dhcp-206-12-52-205.eduroam.wireless.ubc.ca> | 2018-06-19 11:52:10 -0700 |
commit | 7073e417bed151976c62fe20d1ba69abd30e7758 (patch) | |
tree | f4fcee3f4b9ef8c443a3d720c8c8e9e3a188d59b /ot | |
parent | 52134e92e427c825b4aa0a24ac5e000232ebd707 (diff) |
remove if in test and cleaned code
Diffstat (limited to 'ot')
-rw-r--r-- | ot/stochastic.py | 2 |
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 |