Closed willat343 closed 1 year ago
Thanks for those fixes :+1: .
@willat343 could you please rebase your pr on top of devel
? Thanks.
@artivis I think I have done so
Merging #271 (9dedec1) into devel (08719cb) will increase coverage by
0.16%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## devel #271 +/- ##
==========================================
+ Coverage 97.96% 98.12% +0.16%
==========================================
Files 55 55
Lines 1817 1817
==========================================
+ Hits 1780 1783 +3
+ Misses 37 34 -3
I encountered the following compilation error when use the hat operator of the Rn group with ceres:
I fixed this by replacing
::Constant(0)
with::Zero()
. An alternative fix I think is to use::Constant(Scalar(0))
. I chose the former because::Zero()
is much more common in the codebase than::Constant(Scalar(n))
.I noticed 3 instances of
::Constant(Scalar(1))
in the code, in the SO2 base and tangent base classes. It would make sense to replace these with::Ones()
but I have not included that in this pull request.