Skip to content

Commit d9ae584

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/fix/laplace-args' into fix/laplace-args
2 parents 6033e4d + ad0440d commit d9ae584

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
python runTests.py -j4 ${{ matrix.config.tests }}
7272
7373
- name: Upload gtest_output xml
74-
uses: actions/upload-artifact@v6
74+
uses: actions/upload-artifact@v7
7575
if: failure()
7676
with:
7777
name: gtest_outputs_xml
@@ -134,7 +134,7 @@ jobs:
134134
python runTests.py -j2 $MixFunProbTestsArray[(${{ matrix.group }} - 1)]
135135
136136
- name: Upload gtest_output xml
137-
uses: actions/upload-artifact@v6
137+
uses: actions/upload-artifact@v7
138138
if: failure()
139139
with:
140140
name: gtest_outputs_xml

stan/math/prim/fun/generate_laplace_options.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ inline auto generate_laplace_options(int theta_0_size) {
4141
*/
4242
template <typename ThetaVec, require_eigen_t<ThetaVec>* = nullptr>
4343
inline auto generate_laplace_options(ThetaVec&& theta_0) {
44-
return std::make_tuple(
45-
stan::math::eval(std::forward<ThetaVec>(theta_0)), internal::laplace_default_tolerance,
46-
internal::laplace_default_max_num_steps, internal::laplace_default_solver,
47-
internal::laplace_default_max_steps_line_search,
48-
internal::laplace_default_allow_fallthrough);
44+
return std::make_tuple(stan::math::eval(std::forward<ThetaVec>(theta_0)),
45+
internal::laplace_default_tolerance,
46+
internal::laplace_default_max_num_steps,
47+
internal::laplace_default_solver,
48+
internal::laplace_default_max_steps_line_search,
49+
internal::laplace_default_allow_fallthrough);
4950
}
5051

5152
} // namespace math

0 commit comments

Comments
 (0)