[upstream_utils] Upgrade Sleipnir to support Eigen type specializations (#6924)

This commit is contained in:
Tyler Veness
2024-08-04 06:26:05 -07:00
committed by GitHub
parent 712db6711a
commit 79dfdb9dc5
15 changed files with 864 additions and 511 deletions

View File

@@ -8,10 +8,10 @@ Subject: [PATCH 3/5] Remove unsupported constexpr
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/sleipnir/autodiff/Expression.hpp b/include/sleipnir/autodiff/Expression.hpp
index 065b28e790db32234042bcc94d9a1dac597dee86..e65b689559d01324fc4218c26144521832719025 100644
index 51070613e82cdf5e4105519f39632deb5d2bf19e..dff8e2a6ef24413e3e6356bf0ec57286e50654cf 100644
--- a/include/sleipnir/autodiff/Expression.hpp
+++ b/include/sleipnir/autodiff/Expression.hpp
@@ -21,8 +21,8 @@ namespace sleipnir::detail {
@@ -29,8 +29,8 @@ inline constexpr bool kUsePoolAllocator = true;
struct SLEIPNIR_DLLEXPORT Expression;
@@ -22,7 +22,7 @@ index 065b28e790db32234042bcc94d9a1dac597dee86..e65b689559d01324fc4218c261445218
/**
* Typedef for intrusive shared pointer to Expression.
@@ -401,7 +401,7 @@ SLEIPNIR_DLLEXPORT inline ExpressionPtr sqrt(const ExpressionPtr& x);
@@ -413,7 +413,7 @@ SLEIPNIR_DLLEXPORT inline ExpressionPtr sqrt(const ExpressionPtr& x);
*
* @param expr The shared pointer's managed object.
*/
@@ -31,7 +31,7 @@ index 065b28e790db32234042bcc94d9a1dac597dee86..e65b689559d01324fc4218c261445218
++expr->refCount;
}
@@ -410,7 +410,7 @@ inline constexpr void IntrusiveSharedPtrIncRefCount(Expression* expr) {
@@ -422,7 +422,7 @@ inline constexpr void IntrusiveSharedPtrIncRefCount(Expression* expr) {
*
* @param expr The shared pointer's managed object.
*/