mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
Merge pull request #310 from kostrzewa/accelerator_vector_stream_op_no_backspace
do not use backspace in AcceleratorVector (Coordinate) output stream operator
This commit is contained in:
commit
f98a4e880e
@ -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) ){
|
||||||
if (v.size() > 0) {
|
os << " ";
|
||||||
os << "\b";
|
}
|
||||||
}
|
}
|
||||||
os << "]";
|
os << "]";
|
||||||
return os;
|
return os;
|
||||||
|
Loading…
Reference in New Issue
Block a user