Skip to content

Commit 669f352

Browse files
committed
Update comment
1 parent f4511be commit 669f352

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stan/math/rev/fun/fft.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ inline plain_type_t<V> inv_fft(const V& y) {
111111
*
112112
* The adjoint computation is given by
113113
* ```
114-
* adjoint(x) += size(y) * inv_fft(adjoint(y))
114+
* adjoint(x) += size(y) * inv_fft2(adjoint(y))
115115
* ```
116116
*
117117
* @tparam M type of complex matrix argument
@@ -143,7 +143,7 @@ inline plain_type_t<M> fft2(const M& x) {
143143
*
144144
* The adjoint computation is given by
145145
* ```
146-
* adjoint(y) += (1 / size(x)) * fft(adjoint(x))
146+
* adjoint(y) += (1 / size(x)) * fft2(adjoint(x))
147147
* ```
148148
*
149149
* @tparam M type of complex matrix argument

0 commit comments

Comments
 (0)