Skip to content

Commit 1d4beaf

Browse files
[pre-commit.ci] auto code formatting
1 parent ffa07d5 commit 1d4beaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

thrust/thrust/detail/complex/complex.inl

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ __host__ __device__ complex<T>::complex(const T& re)
3232
{}
3333

3434
template <typename T>
35-
__host__ __device__ complex<T>::complex(const T& re, const T& im) : data{re, im} {}
36-
35+
__host__ __device__ complex<T>::complex(const T& re, const T& im)
36+
: data{re, im}
37+
{}
3738

3839
template <typename T>
3940
template <typename U>
4041
__host__ __device__ complex<T>::complex(const complex<U>& z)
4142
: data{T(z.real()), T(z.imag())}
4243
{}
4344

44-
4545
template <typename T>
4646
__host__ THRUST_STD_COMPLEX_DEVICE complex<T>::complex(const std::complex<T>& z)
4747
: data{THRUST_STD_COMPLEX_REAL(z), THRUST_STD_COMPLEX_IMAG(z)}

0 commit comments

Comments
 (0)