Fix for C++ typedef vs using

split_sum
Cirdans-Home 3 years ago
parent c1727fec5d
commit 874dd7825e

@ -34,8 +34,8 @@ extern "C" {
typedef double psb_d_t; typedef double psb_d_t;
#ifdef __cplusplus #ifdef __cplusplus
using psb_c_t = std::complex<float>; typedef std::complex<float> psb_c_t;
using psb_z_t = std::complex<double>; typedef std::complex<double> psb_z_t;
#else #else
typedef float complex psb_c_t; typedef float complex psb_c_t;
typedef float complex psb_z_t; typedef float complex psb_z_t;

Loading…
Cancel
Save