Skip to content

Commit e0514cd

Browse files
committed
fix headers
1 parent 836a5ef commit e0514cd

3 files changed

Lines changed: 3 additions & 17 deletions

File tree

stan/math/fwd/fun/pow.hpp

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <stan/math/fwd/fun/inv.hpp>
77
#include <stan/math/fwd/fun/inv_sqrt.hpp>
88
#include <stan/math/fwd/fun/inv_square.hpp>
9+
#include <stan/math/fwd/fun/log.hpp>
910
#include <stan/math/fwd/fun/sqrt.hpp>
1011
#include <stan/math/fwd/fun/square.hpp>
1112
#include <stan/math/prim/fun/pow.hpp>
@@ -63,22 +64,6 @@ inline auto pow(const T1& x1, const T2& x2) {
6364
}
6465

6566

66-
// must uniquely match all pairs of:
67-
// { complex<fvar<V>>, complex<T>, fvar<V>, T }
68-
// with at least one fvar<V> and at least one complex, where T is arithmetic:
69-
// 1) complex<fvar<V>>, complex<fvar<V>>
70-
// 2) complex<fvar<V>>, complex<T>
71-
// 3) complex<fvar<V>>, fvar<V>
72-
// 4) complex<fvar<V>>, T
73-
// 5) complex<T>, complex<fvar<V>>
74-
// 6) complex<T>, fvar<V>
75-
// 7) fvar<V>, complex<fvar<V>>
76-
// 8) fvar<V>, complex<T>
77-
// 9) T, complex<fvar<V>>
78-
79-
80-
81-
8267
/**
8368
* Returns the elementwise raising of the first argument to the power of the
8469
* second argument.

stan/math/prim/meta/base_type.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <stan/math/prim/fun/Eigen.hpp>
55
#include <stan/math/prim/meta/is_complex.hpp>
66
#include <stan/math/prim/meta/is_eigen.hpp>
7+
#include <stan/math/prim/meta/value_type.hpp>
78
#include <stan/math/prim/meta/is_vector.hpp>
89
#include <type_traits>
910
#include <vector>

stan/math/prim/meta/is_var.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef STAN_MATH_PRIM_META_IS_VAR_HPP
22
#define STAN_MATH_PRIM_META_IS_VAR_HPP
33

4-
#include <stan/math/prim/meta.hpp>
4+
#include <stan/math/prim/meta/require_helpers.hpp>
55

66
#include <type_traits>
77

0 commit comments

Comments
 (0)