Skip to content

Commit

Permalink
Small fixes for linting and testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarmendezm committed Dec 18, 2023
1 parent a55be22 commit bd3119a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fuse_variables/include/fuse_variables/pinhole_camera_simple.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef FUSE_VARIABLES_PINHOLE_CAMERA_H
#define FUSE_VARIABLES_PINHOLE_CAMERA_H
#ifndef FUSE_VARIABLES_PINHOLE_CAMERA_SIMPLE_H
#define FUSE_VARIABLES_PINHOLE_CAMERA_SIMPLE_H

#include <fuse_core/fuse_macros.h>
#include <fuse_core/serialization.h>
Expand Down Expand Up @@ -164,4 +164,4 @@ class PinholeCameraSimple : public BaseCamera<3>

BOOST_CLASS_EXPORT_KEY(fuse_variables::PinholeCameraSimple);

#endif // FUSE_VARIABLES_PINHOLE_CAMERA_H
#endif // FUSE_VARIABLES_PINHOLE_CAMERA_SIMPLE_H
2 changes: 1 addition & 1 deletion fuse_variables/test/test_pinhole_camera_simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ TEST(PinholeCameraSimple, Optimization)
K.r2() = 5;

// Create a simple a constraint
ceres::CostFunction* cost_function = new ceres::AutoDiffCostFunction<CostFunctor, 4, 4>(new CostFunctor());
ceres::CostFunction* cost_function = new ceres::AutoDiffCostFunction<CostFunctor, 3, 3>(new CostFunctor());

// Build the problem.
ceres::Problem problem;
Expand Down

0 comments on commit bd3119a

Please sign in to comment.