Skip to content

Commit

Permalink
TiledRange1 printer reimplemented in terms of Range1 printer
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 9, 2024
1 parent f10d61b commit ddce13e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/TiledArray/tiled_range1.h
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,8 @@ inline bool operator!=(const TiledRange1& r1, const TiledRange1& r2) {

/// TiledRange1 ostream operator
inline std::ostream& operator<<(std::ostream& out, const TiledRange1& rng) {
out << "( tiles = [ " << rng.tiles_range().first << ", "
<< rng.tiles_range().second << " ), elements = [ "
<< rng.elements_range().first << ", " << rng.elements_range().second
<< " ) )";
out << "( tiles = " << rng.tiles_range()
<< ", elements = " << rng.elements_range() << " )";
return out;
}

Expand Down

0 comments on commit ddce13e

Please sign in to comment.