mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-25 21:25:56 +01:00
do not use backspace in Coordinate output stream operator
This commit is contained in:
parent
a98c91c2a5
commit
54523369a3
@ -99,10 +99,10 @@ inline std::ostream & operator<<(std::ostream &os, const AcceleratorVector<T,_nd
|
|||||||
{
|
{
|
||||||
os << "[";
|
os << "[";
|
||||||
for(int s=0;s<v.size();s++) {
|
for(int s=0;s<v.size();s++) {
|
||||||
os << v[s] << " ";
|
os << v[s];
|
||||||
|
if( s < (v.size()-1) ){
|
||||||
|
os << " ";
|
||||||
}
|
}
|
||||||
if (v.size() > 0) {
|
|
||||||
os << "\b";
|
|
||||||
}
|
}
|
||||||
os << "]";
|
os << "]";
|
||||||
return os;
|
return os;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user