Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@luisfpereira
Copy link
Collaborator

This replaces gs.assertAllClose(., True) by assertTrue for more meaningful error messages. Besides assertAllEqual is added for better comparison of arrays of int and bool.

@codecov
Copy link

codecov bot commented May 17, 2022

Codecov Report

Merging #1539 (0c0b98b) into master (afe8133) will decrease coverage by 0.04%.
The diff coverage is 84.91%.

@@            Coverage Diff             @@
##           master    #1539      +/-   ##
==========================================
- Coverage   82.88%   82.84%   -0.03%     
==========================================
  Files          96       96              
  Lines        9750     9763      +13     
==========================================
+ Hits         8080     8087       +7     
- Misses       1670     1676       +6     
Flag Coverage Δ
pytorch 82.84% <84.91%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
geomstats/_backend/__init__.py 77.78% <ø> (ø)
geomstats/geometry/pullback_metric.py 87.91% <83.88%> (ø)
geomstats/geometry/riemannian_metric.py 88.29% <91.67%> (+0.58%) ⬆️
geomstats/_backend/pytorch/__init__.py 95.11% <100.00%> (ø)
geomstats/learning/riemannian_mean_shift.py 90.63% <0.00%> (-4.61%) ⬇️
geomstats/learning/online_kmeans.py 18.19% <0.00%> (-0.42%) ⬇️
geomstats/learning/frechet_mean.py 92.45% <0.00%> (-0.31%) ⬇️
geomstats/geometry/discrete_curves.py 68.07% <0.00%> (-<0.01%) ⬇️
geomstats/learning/mdm.py 100.00% <0.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7bb7e8...0c0b98b. Read the comment docs.

@luisfpereira luisfpereira merged commit 9bad7b8 into geomstats:master May 17, 2022
@luisfpereira luisfpereira deleted the assert_true branch June 3, 2022 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant