mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
23 lines
1009 B
Diff
23 lines
1009 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 7/9] 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 40d18f2a680d6537d698c1c774d6996c65a173d8..2091f339744f8f8980ccb1e44b0b54b06eb32418 100644
|
|
--- a/include/sleipnir/autodiff/variable.hpp
|
|
+++ b/include/sleipnir/autodiff/variable.hpp
|
|
@@ -745,7 +745,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(),
|