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 e89af7f commit 9927f46Copy full SHA for 9927f46
1 file changed
stan/math/prim/fun/exp.hpp
@@ -72,7 +72,7 @@ class apply_exp {
72
73
public:
74
Container operator()(const tbb::blocked_range<std::size_t>& r) const {
75
- Container a = my_a;
+ Container& a = my_a;
76
for (std::size_t i = r.begin(); i != r.end(); ++i) {
77
my_a[i] = std::exp(a[i]);
78
}
0 commit comments