mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
23 lines
1011 B
Diff
23 lines
1011 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tyler Veness <calcmogul@gmail.com>
|
|
Date: Mon, 10 Feb 2025 11:37:02 -0800
|
|
Subject: [PATCH 07/10] Suppress clang-tidy false positives
|
|
|
|
---
|
|
include/sleipnir/autodiff/variable.hpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/sleipnir/autodiff/variable.hpp b/include/sleipnir/autodiff/variable.hpp
|
|
index ad8baa3b58047f5257c210b88446324cca121d4a..5f32d7ea16864ad9a4fdcc4b067ef7dff2e9027d 100644
|
|
--- a/include/sleipnir/autodiff/variable.hpp
|
|
+++ b/include/sleipnir/autodiff/variable.hpp
|
|
@@ -843,7 +843,7 @@ struct InequalityConstraints {
|
|
///
|
|
/// @param inequality_constraints The list of InequalityConstraints to
|
|
/// concatenate.
|
|
- InequalityConstraints(
|
|
+ InequalityConstraints( // NOLINT
|
|
std::initializer_list<InequalityConstraints> inequality_constraints) {
|
|
for (const auto& elem : inequality_constraints) {
|
|
constraints.insert(constraints.end(), elem.constraints.begin(),
|