diff --git a/src/mmSolver/node/node_line_utils.cpp b/src/mmSolver/node/node_line_utils.cpp index ec31c0cc..f3ae2b8c 100644 --- a/src/mmSolver/node/node_line_utils.cpp +++ b/src/mmSolver/node/node_line_utils.cpp @@ -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 &point_data_x, - const rust::Vec &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 &point_data_x, + const rust::Vec &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; diff --git a/tools/lensdistortion/src/steps.h b/tools/lensdistortion/src/steps.h index bfe37575..9c15d942 100644 --- a/tools/lensdistortion/src/steps.h +++ b/tools/lensdistortion/src/steps.h @@ -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(lens_model_type)); + << static_cast(lens_model_type)); } else { MMSOLVER_PANIC("calculate_image: Unsupported lens_model_type: " << static_cast(lens_model_type));