Skip to content

Commit 2e83467

Browse files
committed
Fixed doxygen problem though I'm not sure how (design-doc #19)
1 parent a5ee85d commit 2e83467

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

stan/math/prim/fun/eval.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
#include <stan/math/prim/meta.hpp>
55
#include <stan/math/prim/fun/Eigen.hpp>
6+
#include <cstddef>
7+
#include <vector>
68

79
namespace stan {
810
namespace math {
@@ -25,11 +27,11 @@ inline decltype(auto) eval(T&& arg) {
2527
*
2628
* @tparam T Input type
2729
* @param[in] arg Input argument
28-
* @return Forwarded input argument
30+
* @return Eval'd argument
2931
**/
3032
template <typename T,
3133
require_eigen_t<T>* = nullptr>
32-
inline decltype(auto) eval(T&& arg) {
34+
inline decltype(auto) eval(T arg) {
3335
return arg.eval();
3436
}
3537

0 commit comments

Comments
 (0)