Commit 4e6f3c5957de4e04b960505a7e86baa7c8ddd2e4
1 parent
d148cbc8
Revert "Looping over all matrices in Transpose"
This reverts commit d148cbc8bdbedadcb919efce08e2a90f3f818349.
Showing
1 changed file
with
1 additions
and
2 deletions
openbr/plugins/misc.cpp
| @@ -890,8 +890,7 @@ class TransposeTransform : public UntrainableTransform | @@ -890,8 +890,7 @@ 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 | - for (int i=0; i<src.size(); i++) | ||
| 894 | - dst.append(src[i].t()); | 893 | + dst.m() = src.m().t(); |
| 895 | } | 894 | } |
| 896 | }; | 895 | }; |
| 897 | 896 |