diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 11:11:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-19 11:12:04 +0200 |
commit | 84044ec3f6fe9ea90f3601b880d96be989fb7d79 (patch) | |
tree | 7b5b53cc0ace4b701a8f7a37289f7d8827e3d81f /opentrack/simple-mat.hpp | |
parent | 64a6892e8713c69e1f5ade929ec8035146de3f56 (diff) |
fix osx, app bundle now builds
Diffstat (limited to 'opentrack/simple-mat.hpp')
-rw-r--r-- | opentrack/simple-mat.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack/simple-mat.hpp b/opentrack/simple-mat.hpp index e111305a..7432e665 100644 --- a/opentrack/simple-mat.hpp +++ b/opentrack/simple-mat.hpp @@ -107,7 +107,7 @@ struct Mat { Mat<num, h_, w_> ret; for (int j = 0; j < h_; j++) - for (int i = 0; i < w; i++) + for (int i = 0; i < w_; i++) ret(j, i) = this->operator ()(j, i) + other(j, i); return ret; } @@ -125,7 +125,7 @@ struct Mat { Mat<num, h_, w_> ret; for (int j = 0; j < h_; j++) - for (int i = 0; i < w; i++) + for (int i = 0; i < w_; i++) ret(j, i) = this->operator ()(j, i) + other; return ret; } |