fix: resolve rebase artifacts — import paths and MLError variant

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-08 15:21:46 +01:00
parent b95ee9d336
commit 1f1ba40eaa
2 changed files with 3 additions and 5 deletions

View File

@@ -29,8 +29,8 @@
use data::providers::databento::{dbn_parser::DbnParser, mbp10::Mbp10Snapshot};
use std::path::Path;
use crate::features::ofi_calculator::OFICalculator;
use crate::features::trades_loader::load_trades_sync;
use crate::ofi_calculator::OFICalculator;
use crate::trades_loader::load_trades_sync;
use crate::MLError;
/// Load MBP-10 snapshots from DBN file (synchronous wrapper)

View File

@@ -499,9 +499,7 @@ impl ParameterSpace for DQNParams {
fn from_continuous(x: &[f64]) -> Result<Self, MLError> {
if x.len() != 28 {
return Err(MLError::ConfigError {
reason: format!("Expected 28 continuous parameters, got {}", x.len()),
});
return Err(MLError::ConfigError(format!("Expected 28 continuous parameters, got {}", x.len())));
}
// === 26 TUNED parameters (from search space) ===