diff --git a/src/base/stringUtils.cpp b/src/base/stringUtils.cpp index ab6a9f5a5..771d1a428 100644 --- a/src/base/stringUtils.cpp +++ b/src/base/stringUtils.cpp @@ -68,7 +68,7 @@ std::string vec2str(const vector_fp& v, const std::string& fmt, std::stringstream o; for (size_t i = 0; i < v.size(); i++) { SNPRINTF(buf, 63, fmt.c_str(), v[i]); - o << v[i]; + o << buf; if (i != v.size() - 1) { o << sep; }