Skip to content

Commit 50e2963

Browse files
author
Dominic Beger
committed
Fix wrong property for dimension in Matrix.Clone
1 parent e608630 commit 50e2963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SharpMath/Geometry/Matrix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public override int GetHashCode()
561561
var cloneMatrix = new T();
562562
for (uint y = 0; y < RowCount; ++y)
563563
{
564-
for (uint x = 0; x < RowCount; ++x)
564+
for (uint x = 0; x < ColumnCount; ++x)
565565
{
566566
cloneMatrix[y, x] = this[y, x];
567567
}

0 commit comments

Comments
 (0)