Skip to content

Commit 01d5016

Browse files
Update ZEngine/ZEngine/Core/Maths/Matrix.h
Co-authored-by: Jean Philippe <jeanphilippe02666592@outlook.fr>
1 parent e349bc5 commit 01d5016

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ZEngine/ZEngine/Core/Maths/Matrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace ZEngine::Core::Maths
3535
return result;
3636
}
3737

38-
Matrix<T, R, C> operator-(Matrix<T, R, C>& other)
38+
Matrix<T, R, C> operator-(Matrix<T, R, C>& other) const
3939
{
4040
Matrix<T, R, C> result{};
4141
for (size_t j = 0; j < C; ++j)

0 commit comments

Comments
 (0)