Skip to content

Commit 8f3a8fb

Browse files
committed
Just public
1 parent 074896f commit 8f3a8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/booster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ impl Booster {
533533
xgb_call!(xgboost_sys::XGBoosterSaveRabitCheckpoint(self.handle))
534534
}
535535

536-
pub(crate) fn set_param(&mut self, name: &str, value: &str) -> XGBResult<()> {
536+
pub fn set_param(&mut self, name: &str, value: &str) -> XGBResult<()> {
537537
let name = ffi::CString::new(name).unwrap();
538538
let value = ffi::CString::new(value).unwrap();
539539
xgb_call!(xgboost_sys::XGBoosterSetParam(self.handle, name.as_ptr(), value.as_ptr()))

0 commit comments

Comments
 (0)