diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 18:08:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-01 18:08:44 +0200 |
commit | c9a10c21a2c28efa6bb731df89c5c4f32feb73b8 (patch) | |
tree | a94cd7b033439ca4bb99fb0c5d815fb4d8b6842c | |
parent | 6572e70fb535fd4f06c9b866bb30a7ac54a82b80 (diff) |
simple-mat: fix scalar multiplication
-rw-r--r-- | opentrack/simple-mat.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/simple-mat.hpp b/opentrack/simple-mat.hpp index 9518af90..17f19c45 100644 --- a/opentrack/simple-mat.hpp +++ b/opentrack/simple-mat.hpp @@ -130,7 +130,7 @@ struct Mat return ret; } - Mat<num, w_, h_> operator*(const num& other) const + Mat<num, h_, w_> operator*(const num& other) const { Mat<num, h_, w_> ret; for (int j = 0; j < h_; j++) |