Skip to content

Commit 9927f46

Browse files
committed
lval ref
1 parent e89af7f commit 9927f46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/prim/fun/exp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class apply_exp {
7272

7373
public:
7474
Container operator()(const tbb::blocked_range<std::size_t>& r) const {
75-
Container a = my_a;
75+
Container& a = my_a;
7676
for (std::size_t i = r.begin(); i != r.end(); ++i) {
7777
my_a[i] = std::exp(a[i]);
7878
}

0 commit comments

Comments
 (0)