RegularJacobianFactor hides interface of JacobianFactor
Issue #241
resolved
[ 72%] Building CXX object gtsam/slam/tests/CMakeFiles/testRegularJacobianFactor.dir/testRegularJacobianFactor.cpp.o
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/tests/testRegularJacobianFactor.cpp: In member function ‘virtual void RegularJacobianmultiplyHessianAddTest::run(TestResult&)’:
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/tests/testRegularJacobianFactor.cpp:228:68: error: no matching function for call to ‘gtsam::RegularJacobianFactor<3ul>::multiplyHessianAdd(double&, double [9], double [9], std::vector<long unsigned int>&)’
regularFactor.multiplyHessianAdd(alpha, XRaw, actualMHARaw2, dims);
^
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/tests/testRegularJacobianFactor.cpp:228:68: note: candidates are:
In file included from /home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/tests/testRegularJacobianFactor.cpp:19:0:
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/RegularJacobianFactor.h:72:16: note: void gtsam::RegularJacobianFactor<D>::multiplyHessianAdd(double, const gtsam::VectorValues&, gtsam::VectorValues&) const [with long unsigned int D = 3ul]
virtual void multiplyHessianAdd(double alpha, const VectorValues& x,
^
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/RegularJacobianFactor.h:72:16: note: candidate expects 3 arguments, 4 provided
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/RegularJacobianFactor.h:81:8: note: void gtsam::RegularJacobianFactor<D>::multiplyHessianAdd(double, const double*, double*) const [with long unsigned int D = 3ul]
void multiplyHessianAdd(double alpha, const double* x, double* y) const {
^
/home/jenkins/jenkins_home/jobs/gtsam-ubuntu-pullrequest/workspace/BUILD_OPT/Debug/MKL_OPT/MKL OFF/ROT_OPT/Rot3/TBB_OPT/TBB OFF/gtsam/slam/RegularJacobianFactor.h:81:8: note: candidate expects 3 arguments, 4 provided
make[3]: *** [gtsam/slam/tests/CMakeFiles/testRegularJacobianFactor.dir/testRegularJacobianFactor.cpp.o] Error 1
make[2]: *** [gtsam/slam/tests/CMakeFiles/testRegularJacobianFactor.dir/all] Error 2
make[1]: *** [CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2
Comments (3)
-
reporter -
reporter - changed status to closed
solved
-
- changed status to resolved
- Log in to comment
solved with pull request 152