[Base] Fix vec2str to actually use provided format string
This commit is contained in:
parent
0e2ea0964b
commit
e13faa1071
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue