From 64dab889b45225303b0cdbeb46271cf8a1d86efa Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Tue, 25 Jun 2024 15:10:10 -0400 Subject: [PATCH 1/2] Expose nl_fit::CurveFitResult --- CHANGELOG.md | 1 + src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d24b8d..79487b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - `Roms`: Robust median statistic feature, thanks @GaluTi for their first contribution! https://github.com/light-curve/light-curve-feature/issues/103 https://github.com/light-curve/light-curve-feature/pull/160 +- Expose `nl_fit::CurveFitResult` ### Changed diff --git a/src/lib.rs b/src/lib.rs index 1c6cf70..c81e896 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -31,6 +31,7 @@ mod nl_fit; pub use nl_fit::evaluator::FitFeatureEvaluatorGettersTrait; #[cfg(any(feature = "ceres-source", feature = "ceres-system"))] pub use nl_fit::CeresCurveFit; +pub use nl_fit::CurveFitResult; #[cfg(feature = "gsl")] pub use nl_fit::LmsderCurveFit; pub use nl_fit::{prior, LnPrior, LnPrior1D}; From 5790c3678515d8ab1ad9a0cade9453948d6f0193 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Tue, 25 Jun 2024 15:15:25 -0400 Subject: [PATCH 2/2] Allow unsued field in RRLyr --- test-util/src/lc_data/rrlyr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/test-util/src/lc_data/rrlyr.rs b/test-util/src/lc_data/rrlyr.rs index eadff1d..2a45c88 100644 --- a/test-util/src/lc_data/rrlyr.rs +++ b/test-util/src/lc_data/rrlyr.rs @@ -9,6 +9,7 @@ use light_curve_feature::Float; pub struct RrLyr { pub id: usize, + #[allow(dead_code)] pub subtype: String, pub period: T, pub light_curve: MultiColorLightCurve,