Skip to content

Commit bee32aa

Browse files
committed
Remove int conversion for new int-based comp_df of task parameter
1 parent f5be4cd commit bee32aa

File tree

1 file changed

+1
-1
lines changed
  • baybe/surrogates/gaussian_process

1 file changed

+1
-1
lines changed

baybe/surrogates/gaussian_process/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def _fit(self, train_x: Tensor, train_y: Tensor) -> None:
218218
task_param.comp_df.squeeze(axis=1).at[task_param.active_values[0]]
219219
],
220220
"rank": context.n_tasks,
221-
"all_tasks": task_param.comp_df.squeeze(axis=1).astype(int).to_list(),
221+
"all_tasks": task_param.comp_df.squeeze(axis=1).to_list(),
222222
}
223223

224224
# construct and fit the Gaussian process

0 commit comments

Comments
 (0)