Skip to content

Commit acf90a7

Browse files
committed
Typos
1 parent 2d4d039 commit acf90a7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

stan/math/prim/constraint/cholesky_factor_constrain.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ cholesky_factor_constrain(const T& x, int M, int N, Lp& lp) {
100100
* @param N number of columns
101101
* @return Cholesky factor
102102
*/
103-
template <typename T, , require_std_vector_t<T>* = nullptr>
103+
template <typename T, require_std_vector_t<T>* = nullptr>
104104
inline auto cholesky_factor_constrain(const T& x, int M, int N) {
105105
return apply_vector_unary<T>::apply(
106106
x, [M, N](auto&& v) { return cholesky_factor_constrain(v, M, N); });

stan/math/prim/constraint/corr_matrix_constrain.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ corr_matrix_constrain(const T& x, Eigen::Index k, Lp& lp) {
9393
template <typename T, require_std_vector_t<T>* = nullptr>
9494
inline auto corr_matrix_constrain(const T& y, int K) {
9595
return apply_vector_unary<T>::apply(
96-
y, [K](auto&& v) { return corr_matrix_constrain(v, K, ); });
96+
y, [K](auto&& v) { return corr_matrix_constrain(v, K); });
9797
}
9898

9999
/**

stan/math/prim/constraint/positive_ordered_constrain.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ inline auto positive_ordered_constrain(const Vec& x, Lp& lp) {
7171
* @return Positive, increasing ordered vector
7272
*/
7373
template <typename T, require_std_vector_t<T>* = nullptr>
74-
inline auto positive_ordered_constrain(const T& x, Lp&... lp) {
74+
inline auto positive_ordered_constrain(const T& x) {
7575
return apply_vector_unary<T>::apply(
7676
x, [](auto&& v) { return positive_ordered_constrain(v); });
7777
}

0 commit comments

Comments
 (0)