Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinedemathelin committed Oct 15, 2021
1 parent db0df06 commit 66c055c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src_docs/_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,18 @@ <h2> Examples </h2>
<div class="three-cards">
<div class="card h-100">
<div class="card-body">
<a href="{{ pathto("examples/Two_Moons") }}"><h4 class="card-title">Two Moons</h4></a>
<a href="{{ pathto("examples/Two_moons") }}"><h4 class="card-title">Two Moons</h4></a>
<p class="card-text">Here are some examples of domain adaptation methods applied on the Two Moons dataset.
Please look at these examples to learn how to use the algorithms provided by the ADAPT package.
</p>
</div>

<div class="image">
<a href="{{ pathto("examples/Two_Moons") }}">
<a href="{{ pathto("examples/Two_moons") }}">
<img src="_static/images/two_moons_setup.png" class="sk-index-img" alt="Two Moons">
</a>
</div>
<a class="btn btn-below" role="button" href="{{ pathto("examples/Two_Moons") }}">See examples</a>
<a class="btn btn-below" role="button" href="{{ pathto("examples/Two_moons") }}">See examples</a>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion tests/test_coral.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_fit_coral_complex():
model.fit(Xs_, ys[:10], Xt_)
assert np.iscomplexobj(linalg.inv(linalg.sqrtm(model.Cs_)))
assert np.iscomplexobj(linalg.sqrtm(model.Ct_))
model.predict(Xs_)
model.predict(Xs_, domain="src")


def test_fit_deepcoral():
Expand Down

0 comments on commit 66c055c

Please sign in to comment.