diff --git a/.gitignore b/.gitignore index e09f7f7..3f93576 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ cython/*.cpp *.log *.so +*.pyd *.o *.csv *.parquet diff --git a/lib/imc_channel.hpp b/lib/imc_channel.hpp index 52cdcce..f1b7e29 100644 --- a/lib/imc_channel.hpp +++ b/lib/imc_channel.hpp @@ -108,7 +108,8 @@ namespace imc std::string joinvec(std::vector
myvec, unsigned long int limit = 10, int prec = 10, bool fixed = true) { // include entire list for limit = 0 - limit = (limit == 0) ? (unsigned long int)myvec.size() : limit; + unsigned long int myvecsize = (unsigned long int)myvec.size(); + limit = (limit == 0) ? myvecsize : limit; std::stringstream ss; ss<<"["; @@ -129,7 +130,7 @@ namespace imc ss<