We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f97d77 commit bb37bf9Copy full SHA for bb37bf9
1 file changed
stan/math/prim/fun/inv_square.hpp
@@ -27,9 +27,9 @@ template <typename Container,
27
Container>* = nullptr,
28
require_container_t<Container>* = nullptr>
29
inline auto inv_square(Container&& x) {
30
- return make_holder([](auto&& v) {
31
- return inv(square(std::forward<decltype(v)>(v)));
32
- }, std::forward<Container>(x));
+ return make_holder(
+ [](auto&& v) { return inv(square(std::forward<decltype(v)>(v))); },
+ std::forward<Container>(x));
33
}
34
35
/**
0 commit comments