Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions axiom/optimizer/tests/PlanMatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,13 @@ class FixedPointMatcher : public PlanMatcherImpl<FixedPointNode> {
}

if (const auto& convergence = match_->convergencePlan()) {
EXPECT_NE(plan.convergenceConfig().plan, nullptr);
EXPECT_EQ(plan.convergenceConfig().plans.size(), 1);
AXIOM_TEST_RETURN_IF_FAILURE
if (!convergence
->match(
plan.convergenceConfig().plan, symbols, /*context=*/nullptr)
plan.convergenceConfig().plans.front(),
symbols,
/*context=*/nullptr)
.match) {
return MatchResult::failure();
}
Expand Down
2 changes: 1 addition & 1 deletion axiom/optimizer/v2/docs/FixedPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ iterations and is seeded from the anchor.
| --- | --- | --- |
| `RecursiveReferenceNode[counter]` | `WorkingTable[counter, latestDelta]` | `StateSourceNode(counter, delta=true)` |
| anchor branch | anchor branch | `VectorStateDeclaration(counter, append=true)` |
| — (synthesized in Translate) | `convergence:` `Aggregate count()` -> `Project eq(count, 0)` | `ConvergenceConfig.plan`: `AggregationNode(count)` -> `ProjectNode(count == 0)` |
| — (synthesized in Translate) | `convergence:` `Aggregate count()` -> `Project eq(count, 0)` | `ConvergenceConfig.plans`: `AggregationNode(count)` -> `ProjectNode(count == 0)` |

`WorkingTableReadMode` also has an `kAccumulated` mode, which emits
`delta=false` — a read of the whole state rather than the last iteration's
Expand Down
Loading