Skip to content

Commit fc442b9

Browse files
committed
fix docs
1 parent 174ed30 commit fc442b9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionary.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ private IdentityDictionary(int nRowCol) {
6060
* structure is known to have certain properties.
6161
*
6262
* @param nRowCol The number of rows and columns in this identity matrix.
63+
* @return a Dictionary instance.
6364
*/
6465
public static IDictionary create(int nRowCol) {
6566
return create(nRowCol, false);
@@ -82,6 +83,7 @@ private IdentityDictionary(int nRowCol, boolean withEmpty) {
8283
*
8384
* @param nRowCol The number of rows and columns in this identity matrix.
8485
* @param withEmpty If the matrix should contain an empty row in the end.
86+
* @return a Dictionary instance.
8587
*/
8688
public static IDictionary create(int nRowCol, boolean withEmpty) {
8789
if(nRowCol == 1) {

src/main/java/org/apache/sysds/runtime/compress/colgroup/dictionary/IdentityDictionarySlice.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ public IdentityDictionarySlice(int nRowCol, boolean withEmpty, int l, int u) {
6161
* @param withEmpty If the matrix should contain an empty row in the end.
6262
* @param l the index lower to start at
6363
* @param u the index upper to end at (not inclusive)
64+
* @return a Dictionary instance.
6465
*/
6566
public static IDictionary create(int nRowCol, boolean withEmpty, int l, int u) {
6667
if(u > nRowCol || l < 0 || l >= u)

0 commit comments

Comments
 (0)