Skip to content

Commit

Permalink
Merge pull request #2996 from stan-dev/opencl-rev-ifdef
Browse files Browse the repository at this point in the history
Missing include guard for OpenCL rev headers
  • Loading branch information
WardBrian authored Jan 4, 2024
2 parents ae90c3e + 8f1f876 commit 895f3e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stan/math/rev.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

#include <stan/math/prim/fun/Eigen.hpp>

#ifdef STAN_OPENCL
#include <stan/math/opencl/rev.hpp>
#endif

#include <stan/math/rev/core.hpp>
#include <stan/math/rev/meta.hpp>
Expand Down

0 comments on commit 895f3e9

Please sign in to comment.