Skip to content

Commit

Permalink
[XLS] Fix incorrect error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
schilkp committed Jan 7, 2025
1 parent 14a6ae0 commit ed4d3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xls/ir/function_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ BValue BuilderBase::Decode(BValue arg, std::optional<int64_t> width,
if (!width.has_value() && arg_width > 16) {
return SetError(
absl::StrFormat(
"Decode argument width be no greater than 32-bits; is %d bits",
"Decode argument width be no greater than 16-bits; is %d bits",
arg_width),
loc);
}
Expand Down

0 comments on commit ed4d3a1

Please sign in to comment.