Skip to content

Commit 12e7675

Browse files
committed
doc: Fix *same as sub<x>* for col and row
1 parent cf45c2c commit 12e7675

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: dash/include/dash/Matrix.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,8 @@ class Matrix
609609
local_type sub_local() noexcept;
610610

611611
/**
612-
* Projection to given offset in first sub-dimension (column), same as
613-
* \c sub<0>(n).
612+
* Projection to given offset in second sub-dimension (column), same as
613+
* \c sub<1>(n).
614614
*
615615
* \returns A \ref MatrixRef object representing the nth column
616616
*
@@ -622,8 +622,8 @@ class Matrix
622622
) const;
623623

624624
/**
625-
* Projection to given offset in first sub-dimension (column), same as
626-
* \c sub<0>(n).
625+
* Projection to given offset in second sub-dimension (column), same as
626+
* \c sub<1>(n).
627627
*
628628
* \returns A \ref MatrixRef object representing the nth column
629629
*
@@ -635,8 +635,8 @@ class Matrix
635635
);
636636

637637
/**
638-
* Projection to given offset in second sub-dimension (rows), same as
639-
* \c sub<1>(n).
638+
* Projection to given offset in first sub-dimension (rows), same as
639+
* \c sub<0>(n).
640640
*
641641
* \returns A \ref MatrixRef object representing the nth row
642642
*
@@ -648,8 +648,8 @@ class Matrix
648648
) const;
649649

650650
/**
651-
* Projection to given offset in second sub-dimension (rows), same as
652-
* \c sub<1>(n).
651+
* Projection to given offset in first sub-dimension (rows), same as
652+
* \c sub<0>(n).
653653
*
654654
* \returns A \ref MatrixRef object representing the nth row
655655
*

0 commit comments

Comments
 (0)