compiles and installs but not smoothing

This commit is contained in:
Jacob Palecki 2023-09-14 21:12:27 -07:00
parent e40ed565cb
commit bae980a300
4 changed files with 4 additions and 6 deletions

View file

@ -132,7 +132,7 @@ namespace rawaccel {
check_accel(args.accel_x);
if (!args.whole) {
if (!args.input_speed_args.whole) {
ret.last_x = ret.count;
check_accel(args.accel_y);
ret.last_y = ret.count;
@ -170,7 +170,7 @@ namespace rawaccel {
error("sens ratio must be positive");
}
if (args.lp_norm <= 0) {
if (args.input_speed_args.lp_norm <= 0) {
error("Lp norm must be positive (default=2)");
}