Skip to content

Commit 6eee6e4

Browse files
committed
update: 修复 Matrixs#scale 用错函数的问题
1 parent c885154 commit 6eee6e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/top/zoyn/particlelib/utils/matrix/Matrixs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static Matrix rotate2D(double theta) {
8484
* @return {@link Matrix}
8585
*/
8686
public static Matrix scale(int row, int column, double value) {
87-
return ones(row, column).multiply(value);
87+
return eyes(row, column).multiply(value);
8888
}
8989

9090
}

0 commit comments

Comments
 (0)