Skip to content

Commit

Permalink
updates for PR checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyueXu77 committed Aug 9, 2024
1 parent ba82521 commit 45b4e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree/gpu_hist/histogram.cu
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ struct ReadMatrixFunction {
auto row = global_idx / k_cols;
auto col = global_idx % k_cols;
auto value = matrix.GetBinIndex(row, col);
if (isnan(float(value))) {
if (isnan(static_cast<float>(value))) {
value = -1;
}
matrix_data_d[global_idx] = value;
Expand Down

0 comments on commit 45b4e2e

Please sign in to comment.