diff options
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/test/eval_fixture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/vespa/eval/eval/test/eval_fixture.h b/eval/src/vespa/eval/eval/test/eval_fixture.h index 9bd2facb25a..dba26f2b270 100644 --- a/eval/src/vespa/eval/eval/test/eval_fixture.h +++ b/eval/src/vespa/eval/eval/test/eval_fixture.h @@ -78,7 +78,7 @@ private: TensorSpec _result; template <typename T> - void find_all(const TensorFunction &node, std::vector<const T *> &list) { + static void find_all(const TensorFunction &node, std::vector<const T *> &list) { if (auto self = as<T>(node)) { list.push_back(self); } @@ -96,7 +96,7 @@ public: bool optimized = true, bool allow_mutable = false); ~EvalFixture() {} template <typename T> - std::vector<const T *> find_all() { + std::vector<const T *> find_all() const { std::vector<const T *> list; find_all(_tensor_function, list); return list; |