(in branch) Start of unit test for incremental gradient calculation
parent
6e1136ba20
commit
dace9e213c
|
@ -296,6 +296,10 @@ TEST_UNSAFE(ISAM2, slamlike_solution)
|
||||||
|
|
||||||
// Compare solutions
|
// Compare solutions
|
||||||
EXPECT(isam_check(fullgraph, fullinit, isam));
|
EXPECT(isam_check(fullgraph, fullinit, isam));
|
||||||
|
|
||||||
|
// Check gradient
|
||||||
|
VectorValues expectedGradient(*allocateVectorValues(isam));
|
||||||
|
gradient
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
Loading…
Reference in New Issue