From 089aef651253b400dda75ad7d539fb315b3411dc Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Tue, 2 Jun 2015 10:02:52 -0400 Subject: [PATCH] Not a convenience function --- openbr/plugins/representation/random.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openbr/plugins/representation/random.cpp b/openbr/plugins/representation/random.cpp index 45a5f2d..a2605be 100644 --- a/openbr/plugins/representation/random.cpp +++ b/openbr/plugins/representation/random.cpp @@ -39,9 +39,7 @@ class RandomRepresentation : public Representation float evaluate(const Mat &image, int idx) const { - Q_UNUSED(image) - Q_UNUSED(idx) - return 0; + return representation->evaluate(image,features[idx]); } Mat evaluate(const Mat &image, const QList &indices) const -- libgit2 0.21.4