@@ -505,12 +505,12 @@ namespace TiledArray {
505505
506506 // / Array begin iterator
507507
508- // / \return A const iterator to the first element of the array.
508+ // / \return A const iterator to the first local element of the array.
509509 iterator begin () {
510510 // Get the pmap iterator
511511 typename pmap_interface::const_iterator it = TensorImpl_::pmap ()->begin ();
512512
513- // Find the fist non-zero iterator
513+ // Find the first non-zero iterator
514514 const typename pmap_interface::const_iterator end = TensorImpl_::pmap ()->end ();
515515 while ((it != end) && TensorImpl_::is_zero (*it)) ++it;
516516
@@ -520,7 +520,7 @@ namespace TiledArray {
520520
521521 // / Array begin iterator
522522
523- // / \return A const iterator to the first element of the array.
523+ // / \return A const iterator to the first local element of the array.
524524 const_iterator cbegin () const {
525525 // Get the pmap iterator
526526 typename pmap_interface::const_iterator it = TensorImpl_::pmap ()->begin ();
@@ -535,14 +535,14 @@ namespace TiledArray {
535535
536536 // / Array end iterator
537537
538- // / \return A const iterator to one past the last element of the array.
538+ // / \return A const iterator to one past the last local element of the array.
539539 iterator end () {
540540 return iterator (this , TensorImpl_::pmap ()->end ());
541541 }
542542
543543 // / Array end iterator
544544
545- // / \return A const iterator to one past the last element of the array.
545+ // / \return A const iterator to one past the last local element of the array.
546546 const_iterator cend () const {
547547 return const_iterator (this , TensorImpl_::pmap ()->end ());
548548 }
0 commit comments