Commit 7f827294 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Add variable seperator to converToString

parent 7a97e661
......@@ -408,7 +408,7 @@ namespace ITA
}
template<class T>
static std::string convertToString( const std::vector<T>& data, int iPrecision = 8 )
static std::string convertToString( const std::vector<T>& data, int iPrecision = 8, const std::string& sSeperator = ", " )
{
std::stringstream ss;
......@@ -419,7 +419,7 @@ namespace ITA
std::for_each ( data.begin ( ) + 1, data.end ( ), [&] ( const T& val )
{
ss << ", " << val;
ss << sSeperator << val;
} );
return ss.str ( );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment