Skip to content

Commit bde4482

Browse files
committed
fix build
1 parent e358853 commit bde4482

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ruis/widget/base/touch/flickable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ ruis::vec2 flickable::calculate_touch_velocity_for_at_least_3_points_using_ols_m
253253
// Ordinary Least Squares method fits quadratic curve y(t)=a*t^2+b*t+c to a set of n >= 3 points.
254254
// Coefficients a, b and c can be found by solving the following system of linear equations
255255
//
256-
// / sum(t^4) sum(t^3) sum(t^2) \ / a \ / sum(y * t^2) \
256+
// | sum(t^4) sum(t^3) sum(t^2) | | a | | sum(y * t^2) |
257257
// | sum(t^3) sum(t^2) sum(t) | * | b | = | sum(y * t) |
258-
// \ sum(t^2) sum(t) n / \ c / \ sum(y) /
258+
// | sum(t^2) sum(t) n | | c | | sum(y) |
259259
//
260260
// The touch velocity is effectively v = dy/dt = 2*a*t + b
261261
//

0 commit comments

Comments
 (0)