@@ -46,7 +46,6 @@ inline fvar<T> operator*(const fvar<T>& x, double y) {
4646 return fvar<T>(x.val_ * y, x.d_ * y);
4747}
4848
49-
5049/* *
5150 * Return the product of the two complex fvar<T> arguments.
5251 *
@@ -56,9 +55,9 @@ inline fvar<T> operator*(const fvar<T>& x, double y) {
5655 * @return product of arguments
5756 */
5857template <typename T>
59- inline std::complex <stan::math::fvar<T>>
60- operator *( const std::complex <stan::math::fvar<T>>& x,
61- const std::complex <stan::math::fvar<T>>& y) {
58+ inline std::complex <stan::math::fvar<T>> operator *(
59+ const std::complex <stan::math::fvar<T>>& x,
60+ const std::complex <stan::math::fvar<T>>& y) {
6261 return internal::complex_multiply (x, y);
6362}
6463
@@ -72,9 +71,8 @@ operator*(const std::complex<stan::math::fvar<T>>& x,
7271 * @return product of arguments
7372 */
7473template <typename T>
75- inline std::complex <stan::math::fvar<T>>
76- operator *(const std::complex <double >& x,
77- const std::complex <stan::math::fvar<T>>& y) {
74+ inline std::complex <stan::math::fvar<T>> operator *(
75+ const std::complex <double >& x, const std::complex <stan::math::fvar<T>>& y) {
7876 return internal::complex_multiply (x, y);
7977}
8078
@@ -88,9 +86,8 @@ operator*(const std::complex<double>& x,
8886 * @return product of arguments
8987 */
9088template <typename T>
91- inline std::complex <stan::math::fvar<T>>
92- operator *(const std::complex <stan::math::fvar<T>>& x,
93- const std::complex <double >& y) {
89+ inline std::complex <stan::math::fvar<T>> operator *(
90+ const std::complex <stan::math::fvar<T>>& x, const std::complex <double >& y) {
9491 return internal::complex_multiply (x, y);
9592}
9693
0 commit comments