Skip to content

Commit

Permalink
Fix Matrix2.mulComponentWise() (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
httpdigest committed Feb 17, 2022
1 parent 3b9ffec commit 44177d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.joml</groupId>
<artifactId>joml</artifactId>
<version>1.10.4</version>
<version>1.10.5-SNAPSHOT</version>
<name>JOML</name>
<description>Java OpenGL Math Library</description>
<inceptionYear>2015</inceptionYear>
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix2d.java
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ public Matrix2d sub(Matrix2dc other, Matrix2d dest) {
* @return this
*/
public Matrix2d mulComponentWise(Matrix2dc other) {
return sub(other, this);
return mulComponentWise(other, this);
}

public Matrix2d mulComponentWise(Matrix2dc other, Matrix2d dest) {
Expand Down
2 changes: 1 addition & 1 deletion src/org/joml/Matrix2f.java
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ public Matrix2f sub(Matrix2fc other, Matrix2f dest) {
* @return this
*/
public Matrix2f mulComponentWise(Matrix2fc other) {
return sub(other, this);
return mulComponentWise(other, this);
}

public Matrix2f mulComponentWise(Matrix2fc other, Matrix2f dest) {
Expand Down

0 comments on commit 44177d8

Please sign in to comment.