Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 606854970
  • Loading branch information
XLS Team authored and copybara-github committed Feb 14, 2024
1 parent a2908f2 commit 835df36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xls/passes/array_simplification_pass.cc
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ absl::StatusOr<SimplifyResult> SimplifyArrayUpdate(
XLS_RET_CHECK_LT(operand_no, array_literal.size());

std::vector<Node*> array_operands;
ArrayUpdate* new_array_update;
ArrayUpdate* new_array_update = nullptr;
for (int64_t i = 0; i < array_literal.size(); ++i) {
XLS_ASSIGN_OR_RETURN(Literal * array_element,
func->MakeNode<Literal>(array_update->loc(),
Expand Down

0 comments on commit 835df36

Please sign in to comment.