File: multi-line-subject

package info (click to toggle)
libconfig-model-dpkg-perl 3.014
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,200 kB
  • sloc: perl: 8,255; python: 242; makefile: 77; javascript: 16; sh: 1
file content (25 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Subject: pretend this is a long subject
 that got wrapped by gbp-pq
Last-Update: 2020-04-24
Date: Thu, 9 Apr 2020 17:57:07 -0500

Not sure what's going on, this looks
constexpr to me. Raised issue in upstream instead of
forwarding this workaround-resembling patch.
---
 src/xrt/auxiliary/tracking/t_tracker_psmv_fusion.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xrt/auxiliary/tracking/t_tracker_psmv_fusion.cpp b/src/xrt/auxiliary/tracking/t_tracker_psmv_fusion.cpp
index 191d6ea..de32c83 100644
--- a/src/xrt/auxiliary/tracking/t_tracker_psmv_fusion.cpp
+++ b/src/xrt/auxiliary/tracking/t_tracker_psmv_fusion.cpp
@@ -148,7 +148,7 @@ namespace {
 			reset_filter_and_imu();
 		}
 		// 7200 deg/sec
-		constexpr double max_rad_per_sec = 20 * EIGEN_PI * 2;
+		double max_rad_per_sec = 20 * EIGEN_PI * 2;
 		if (filter_state.angularVelocity().squaredNorm() >
 		    max_rad_per_sec * max_rad_per_sec) {
 			fprintf(stderr,