Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang tidy cleanup and using std algorithms #1373

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix headers
  • Loading branch information
SteveBronder committed Sep 30, 2019
commit 0c31b3728cf82630e4a53c95aabbfa868cc3c017
6 changes: 4 additions & 2 deletions stan/math/prim/arr/fun/log_sum_exp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
#define STAN_MATH_PRIM_ARR_FUN_LOG_SUM_EXP_HPP

#include <stan/math/prim/meta.hpp>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <numeric>
#include <limits>
#include <vector>
#include <cmath>
#include <cstdlib>

namespace stan {
namespace math {
Expand Down
1 change: 1 addition & 0 deletions stan/math/prim/arr/fun/sum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <stan/math/prim/meta.hpp>
#include <cstddef>
#include <vector>
#include <algorithm>
#include <numeric>

namespace stan {
Expand Down
2 changes: 1 addition & 1 deletion stan/math/rev/arr/fun/sum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#define STAN_MATH_REV_ARR_FUN_SUM_HPP

#include <stan/math/rev/core.hpp>
#include <algorithm>
#include <vector>

namespace stan {
namespace math {

Expand Down