Skip to content

Commit 8be67c6

Browse files
committed
Header fixes
1 parent edd826e commit 8be67c6

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

stan/math/prim/constraint/sum_to_zero_constrain.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
#include <stan/math/prim/meta.hpp>
55
#include <stan/math/prim/fun/Eigen.hpp>
6-
#include <stan/math/prim/fun/sum.hpp>
6+
#include <stan/math/prim/fun/to_ref.hpp>
7+
#include <stan/math/prim/fun/inv_sqrt.hpp>
78
#include <stan/math/prim/functor/apply_vector_unary.hpp>
89
#include <cmath>
910

stan/math/prim/constraint/sum_to_zero_free.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <stan/math/prim/err.hpp>
66
#include <stan/math/prim/fun/Eigen.hpp>
77
#include <stan/math/prim/fun/to_ref.hpp>
8+
#include <stan/math/prim/fun/sqrt.hpp>
89
#include <stan/math/prim/functor/apply_vector_unary.hpp>
910
#include <cmath>
1011

stan/math/rev/constraint/sum_to_zero_constrain.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
#include <stan/math/rev/meta.hpp>
55
#include <stan/math/rev/core/reverse_pass_callback.hpp>
66
#include <stan/math/rev/core/arena_matrix.hpp>
7-
#include <stan/math/rev/fun/value_of.hpp>
87
#include <stan/math/prim/fun/Eigen.hpp>
8+
#include <stan/math/prim/fun/sqrt.hpp>
99
#include <stan/math/prim/constraint/sum_to_zero_constrain.hpp>
10-
#include <stan/math/prim/fun/linspaced_vector.hpp>
11-
#include <stan/math/prim/fun/cumulative_sum.hpp>
1210
#include <cmath>
1311
#include <tuple>
1412
#include <vector>

0 commit comments

Comments
 (0)