Commit d148cbc8bdbedadcb919efce08e2a90f3f818349
1 parent
1cf164ec
Looping over all matrices in Transpose
Showing
1 changed file
with
2 additions
and
1 deletions
openbr/plugins/misc.cpp
| @@ -890,7 +890,8 @@ class TransposeTransform : public UntrainableTransform | @@ -890,7 +890,8 @@ class TransposeTransform : public UntrainableTransform | ||
| 890 | 890 | ||
| 891 | void project(const Template &src, Template &dst) const | 891 | void project(const Template &src, Template &dst) const |
| 892 | { | 892 | { |
| 893 | - dst.m() = src.m().t(); | 893 | + for (int i=0; i<src.size(); i++) |
| 894 | + dst.append(src[i].t()); | ||
| 894 | } | 895 | } |
| 895 | }; | 896 | }; |
| 896 | 897 |