From 6ed52fb765f6dbf55859c8bee9f06abc05f7528f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 7 May 2017 19:11:52 -0500 Subject: [PATCH] Adjust spacing in LSF --- Marlin/least_squares_fit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/least_squares_fit.cpp b/Marlin/least_squares_fit.cpp index f7b8163e88..e91c58d17b 100644 --- a/Marlin/least_squares_fit.cpp +++ b/Marlin/least_squares_fit.cpp @@ -52,9 +52,9 @@ void incremental_LSF(struct linear_fit_data *lsf, float x, float y, float z) { lsf->x2bar += sq(x); lsf->y2bar += sq(y); lsf->z2bar += sq(z); - lsf->xybar += x*y; - lsf->xzbar += x*z; - lsf->yzbar += y*z; + lsf->xybar += x * y; + lsf->xzbar += x * z; + lsf->yzbar += y * z; lsf->max_absx = max(fabs(x), lsf->max_absx); lsf->max_absy = max(fabs(y), lsf->max_absy); lsf->n++;