Skip to content

Commit

Permalink
C++ - Fix formatting for linter to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Dec 30, 2024
1 parent 27b4860 commit f9517b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions src/mmSolver/node/node_line_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,12 @@ MStatus query_line_point_data(const MMatrix parentInverseMatrix,
return status;
}

MStatus fit_line_to_points(const mmsg::Real line_length,
const rust::Vec<mmsg::Real> &point_data_x,
const rust::Vec<mmsg::Real> &point_data_y,
mmdata::Point2D &out_line_center,
mmsg::Real &out_line_slope,
mmsg::Real &out_line_angle,
mmdata::Vector2D &out_line_dir,
mmdata::Point2D &out_line_point_a,
mmdata::Point2D &out_line_point_b,
const bool verbose) {
MStatus fit_line_to_points(
const mmsg::Real line_length, const rust::Vec<mmsg::Real> &point_data_x,
const rust::Vec<mmsg::Real> &point_data_y, mmdata::Point2D &out_line_center,
mmsg::Real &out_line_slope, mmsg::Real &out_line_angle,
mmdata::Vector2D &out_line_dir, mmdata::Point2D &out_line_point_a,
mmdata::Point2D &out_line_point_b, const bool verbose) {
MStatus status = MS::kSuccess;

auto line_dir_x = 1.0;
Expand Down
2 changes: 1 addition & 1 deletion tools/lensdistortion/src/steps.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ void calculate_image(const mmlens::DistortionDirection distortion_direction,
} else if (lens_model_type ==
mmlens::LensModelType::k3deAnamorphicStdDeg6Rescaled) {
MMSOLVER_PANIC("calculate_image: Unsupported lens_model_type: "
<< static_cast<int>(lens_model_type));
<< static_cast<int>(lens_model_type));
} else {
MMSOLVER_PANIC("calculate_image: Unsupported lens_model_type: "
<< static_cast<int>(lens_model_type));
Expand Down

0 comments on commit f9517b3

Please sign in to comment.