Skip to content

Commit

Permalink
Fix wrong property for dimension in Matrix.Clone
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Beger committed Mar 23, 2016
1 parent e608630 commit 50e2963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharpMath/Geometry/Matrix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public T Clone<T>() where T : Matrix, new()
var cloneMatrix = new T();
for (uint y = 0; y < RowCount; ++y)
{
for (uint x = 0; x < RowCount; ++x)
for (uint x = 0; x < ColumnCount; ++x)
{
cloneMatrix[y, x] = this[y, x];
}
Expand Down

0 comments on commit 50e2963

Please sign in to comment.