Replaced repeat() with Vector::Constant to please Jenkins.

release/4.3a0
Alex Hagiopol 2016-03-12 20:00:42 -05:00
parent f2d8bc7d0e
commit cdecdfbf1e
1 changed files with 2 additions and 2 deletions

View File

@ -55,14 +55,14 @@ void timeAll(size_t m, size_t N) {
Matrix P = (E.transpose() * E).inverse();
// RHS and sigmas
const Vector b = gtsam::repeat(2 * m, 1);
const Vector b = Vector::Constant(2*m,1);
const SharedDiagonal model;
// parameters for multiplyHessianAdd
double alpha = 0.5;
VectorValues xvalues, yvalues;
for (size_t i = 0; i < m; i++)
xvalues.insert(i, gtsam::repeat(D, 2));
xvalues.insert(i, Vector::Constant(D,2);
// Implicit
RegularImplicitSchurFactor<CAMERA> implicitFactor(keys, Fblocks, E, P, b);