Skip to content

Commit d82dec9

Browse files
committed
comment
1 parent 8f78e59 commit d82dec9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Data Structures/Matrix/Matrix.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public Matrix scale(int scalar) {
121121
}
122122

123123
/**
124-
* Returns this matrix scaled by a factor. That is, computes sA where s is a
124+
* Returns this matrix divided by a factor. That is, computes sA where s is a
125125
* constant and A is a matrix (this object).
126126
*
127-
* @param scalar : value to scale by
127+
* @param scalar : value to divide by
128128
* @return A new matrix scaled by the scalar value
129129
*/
130130
public Matrix divide(int scalar) {

0 commit comments

Comments
 (0)