summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorievred <ievgen.redko@univ-st-etienne.fr>2020-04-07 13:50:11 +0200
committerievred <ievgen.redko@univ-st-etienne.fr>2020-04-07 13:50:11 +0200
commit2c9f992157844d6253a302905417e86580ac6b12 (patch)
treed7314b752b8d50f7bcc8e34eab11e2a109ddb222 /test
parent34e13d467e376e9bfee2eb15771d9308518c2adb (diff)
upd
Diffstat (limited to 'test')
-rw-r--r--test/test_da.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_da.py b/test/test_da.py
index 372ebd4..4eaf193 100644
--- a/test/test_da.py
+++ b/test/test_da.py
@@ -589,7 +589,7 @@ def test_jcpot_transport_class():
# test margin constraints w.r.t. modified source weights for each source domain
assert_allclose(
- np.dot(otda.log_['all_domains'][i]['D1'], np.sum(otda.coupling_[i], axis=1)), otda.proportions_, rtol=1e-3,
+ np.dot(otda.log_['D1'][i], np.sum(otda.coupling_[i], axis=1)), otda.proportions_, rtol=1e-3,
atol=1e-3)
# test transform