Skip to content

Commit 45b4e2e

Browse files
committed
updates for PR checks
1 parent ba82521 commit 45b4e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree/gpu_hist/histogram.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ struct ReadMatrixFunction {
374374
auto row = global_idx / k_cols;
375375
auto col = global_idx % k_cols;
376376
auto value = matrix.GetBinIndex(row, col);
377-
if (isnan(float(value))) {
377+
if (isnan(static_cast<float>(value))) {
378378
value = -1;
379379
}
380380
matrix_data_d[global_idx] = value;

0 commit comments

Comments
 (0)