From 214bee9b4fc5bc711c86a1e8fba5f63987f8f6e4 Mon Sep 17 00:00:00 2001 From: edwardcqian Date: Mon, 9 Dec 2024 11:00:28 -0500 Subject: [PATCH] update scope --- crates/augurs-forecaster/src/power_transforms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/augurs-forecaster/src/power_transforms.rs b/crates/augurs-forecaster/src/power_transforms.rs index 16423784..adf7f14c 100644 --- a/crates/augurs-forecaster/src/power_transforms.rs +++ b/crates/augurs-forecaster/src/power_transforms.rs @@ -35,7 +35,7 @@ impl CostFunction for BoxCoxProblem<'_> { } /// Optimize the lambda parameter for the Box-Cox transformation -pub fn optimize_lambda(data: &[f64]) -> f64 { +pub (crate) fn optimize_lambda(data: &[f64]) -> f64 { let cost = BoxCoxProblem { data: data }; let init_param = 0.5; let solver = BrentOpt::new(-2.0, 2.0);