From e13faa1071c183102480f09e30d21b70d18806bf Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 30 Apr 2016 16:47:37 -0400 Subject: [PATCH] [Base] Fix vec2str to actually use provided format string --- src/base/stringUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }