Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Sep 12, 2023
1 parent bac3fe8 commit 2ffd1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metric/elementwise_metric.cu
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ class PseudoErrorLoss : public MetricNoCache {
auto const& obj = get<Object const>(in);
auto it = obj.find("pseudo_huber_param");
if (it != obj.cend()) {
FromJson(in->second, &param_);
FromJson(it->second, &param_);
auto const& name = get<String const>(in["name"]);
CHECK_EQ(name, this->Name());
}
Expand Down

0 comments on commit 2ffd1c2

Please sign in to comment.