diff --git a/CHANGELOG b/CHANGELOG index af2e37795a6ea623dc5d326bb02989c8e6e82935..187ac12d8e4ce60a1926ec840f023b45bb024f01 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,8 @@ TODO:: LAST DONE: CHANGES: +- ver. 0.20.019 - <b>2022.03.30</b> Fixed: + - DSP::u::Vacuum fix for AreInputsComplex = true: not all input lines were grouped in input "in" - ver. 0.20.018 - <b>2022.03.29</b> Changed: - Full support for Visual Studio 2019 (DSPE_lib.sln) for 32 and 64-bit architectures - ver. 0.20.017 - <b>2022.03.28</b> Changed: diff --git a/src/cpp/DSP_IO.cpp b/src/cpp/DSP_IO.cpp index 01e3a0e67aed299383c4e14bfc1fe658a8e07756..e0ff64908acf8e9ecd50117caa5a1a95276ec81d 100644 --- a/src/cpp/DSP_IO.cpp +++ b/src/cpp/DSP_IO.cpp @@ -273,10 +273,10 @@ void DSP::u::Vacuum::Init(bool AreInputsComplex, unsigned int NoOfInputs_in) vector <unsigned int> all_indexes; for (ind=0; ind<NoOfInputs_in; ind++) { - all_indexes.push_back(ind); - if (AreInputsComplex == false) { + all_indexes.push_back(ind); + temp = "in" + to_string(ind+1); DefineInput(temp, ind); temp = "in" + to_string(ind+1) + ".re"; @@ -284,8 +284,12 @@ void DSP::u::Vacuum::Init(bool AreInputsComplex, unsigned int NoOfInputs_in) } else { + all_indexes.push_back(2*ind); + all_indexes.push_back(2*ind+1); + temp = "in" + to_string(ind+1); DefineInput(temp, 2*ind, 2*ind+1); + temp = "in" + to_string(ind+1) + ".re"; DefineInput(temp, 2*ind); temp = "in" + to_string(ind+1) + ".im"; diff --git a/src/include/DSP_lib.h b/src/include/DSP_lib.h index 8e4b46461109c97b162489a5af7045b43fa8c15c..b7fd6b7ec5e869d59e95a756a3b017d08e17f378 100644 --- a/src/include/DSP_lib.h +++ b/src/include/DSP_lib.h @@ -11,7 +11,7 @@ #define DSP_VER_MAJOR 0 #define DSP_VER_MINOR 20 -#define DSP_VER_BUILD 18 // !!! without zeroes before, else this will be treated as octal number +#define DSP_VER_BUILD 19 // !!! without zeroes before, else this will be treated as octal number #define DSP_VER_YEAR 2023 #define DSP_VER DSP_VER_MAJOR.DSP_VER_MINOR.DSP_VER_BUILD