diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-01-16 00:49:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 00:49:18 +0100 |
commit | 7ff3cdf2d652cc5b4a5ee04f4c1218647157b988 (patch) | |
tree | ff03601d3c1a2eba8fb0820ac1a6a98a3338c78e /searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp | |
parent | ccd310972b94deb49c1d7e3ffc8dc06e4a282014 (diff) | |
parent | 7a8871c3b9259d05e5cf606e943d69e0e7a160fe (diff) |
Merge pull request #29915 from vespa-engine/havardpe/strict-flowv8.287.20
take strictness into account for flow/cost/sorting
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp')
-rw-r--r-- | searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp b/searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp index f800e124bdc..bbd2744119a 100644 --- a/searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp +++ b/searchlib/src/tests/queryeval/blueprint/blueprint_test.cpp @@ -24,10 +24,10 @@ class MyOr : public IntermediateBlueprint private: public: double calculate_cost() const final { - return cost_of(get_children(), OrFlow()); + return OrFlow::cost_of(get_children()); } double calculate_relative_estimate() const final { - return estimate_of(get_children(), OrFlow()); + return OrFlow::estimate_of(get_children()); } HitEstimate combine(const std::vector<HitEstimate> &data) const override { return max(data); |