We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0106f13 commit 8c019f2Copy full SHA for 8c019f2
include/unified/core/math/matrix.hpp
@@ -20,7 +20,7 @@ struct Matrix
20
public:
21
22
UNIFIED_CONSTEXPR Matrix() {
23
- if UNIFIED_CONSTEXPR (_rows == _columns) {
+ if (_rows == _columns) {
24
for (u32 row = 0; row < _rows; row++)
25
for (u32 col = 0; col < _columns; col++)
26
if (row == col) _data[row][col] = _type(1);
@@ -29,7 +29,7 @@ struct Matrix
29
}
30
31
UNIFIED_CONSTEXPR Matrix(const _type &fill) {
32
33
34
35
if (row == col) _data[row][col] = fill;
0 commit comments