commit | 5dd76869cf45122c79579423f09e0de08cf04092 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Fri Sep 19 16:08:25 2014 +0100 |
committer | Alex Stewart <alexs.mac@gmail.com> | Fri Sep 19 16:08:25 2014 +0100 |
tree | c58366cb636aa6e171ba5cad21ac5f404efafa35 | |
parent | 820cb7b14831aa03eca1e8186000cebfdf0a42f3 [diff] |
Fix unused-function warning with Eigen < 3.2.2. - CreateBlockJacobian() is only ever used when Eigen >= 3.2.2 is detected, but was previously defined whenever CERES_USE_EIGEN_SPARSE was defined with no check on the Eigen version. - This resulted in an unused-function compile warning that became an error due to -Werror, preventing compilation when using Eigen < 3.2.2. Change-Id: I24628ff329f14b087ece66bf2626bdc0de4ba224