-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstan_math_eigen.patch
More file actions
17 lines (16 loc) · 944 Bytes
/
stan_math_eigen.patch
File metadata and controls
17 lines (16 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/stan/math/rev/fun/Eigen_NumTraits.hpp b/stan/math/rev/fun/Eigen_NumTraits.hpp
index 79fbead7c8..6f8f957f15 100644
--- a/stan/math/rev/fun/Eigen_NumTraits.hpp
+++ b/stan/math/rev/fun/Eigen_NumTraits.hpp
@@ -194,10 +194,10 @@ struct general_matrix_vector_product<Index, stan::math::var, LhsMapper,
};
template <typename Index, int LhsStorageOrder, bool ConjugateLhs,
- int RhsStorageOrder, bool ConjugateRhs>
+ int RhsStorageOrder, bool ConjugateRhs, int ResInnerStride>
struct general_matrix_matrix_product<Index, stan::math::var, LhsStorageOrder,
ConjugateLhs, stan::math::var,
- RhsStorageOrder, ConjugateRhs, ColMajor> {
+ RhsStorageOrder, ConjugateRhs, ColMajor, ResInnerStride> {
using LhsScalar = stan::math::var;
using RhsScalar = stan::math::var;
using ResScalar = stan::math::var;