Skip to content

Commit 6cddc96

Browse files
committed
Fixes the type of int64 proto field to int64 instead of int.
PiperOrigin-RevId: 489864215
1 parent 7ec263d commit 6cddc96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_data_validation/anomalies/natural_language_domain_util.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ std::vector<Description> UpdateNaturalLanguageDomain(
179179

180180
VerifyCoverageConstraints(nl_stats, nl_domain, &result);
181181

182-
std::map<absl::variant<std::string, int>,
182+
std::map<absl::variant<std::string, int64>,
183183
const NaturalLanguageStatistics::TokenStatistics&>
184184
token_stats_map;
185185

@@ -195,7 +195,7 @@ std::vector<Description> UpdateNaturalLanguageDomain(
195195
}
196196

197197
for (auto& constraint : *nl_domain->mutable_token_constraints()) {
198-
absl::variant<string, int> constraint_name;
198+
absl::variant<string, int64> constraint_name;
199199
std::string token_string;
200200
if (constraint.has_int_value()) {
201201
constraint_name = constraint.int_value();

0 commit comments

Comments
 (0)