summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-01 18:08:44 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-01 18:08:44 +0200
commitc9a10c21a2c28efa6bb731df89c5c4f32feb73b8 (patch)
treea94cd7b033439ca4bb99fb0c5d815fb4d8b6842c
parent6572e70fb535fd4f06c9b866bb30a7ac54a82b80 (diff)
simple-mat: fix scalar multiplication
-rw-r--r--opentrack/simple-mat.hpp2
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++)