build: fix compilation without default features (#218)
* build: fix compilation with optional features * Remove unused config from Cargo.toml * Fix cache keys Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ pub struct SVRParameters<'a, T: Number + RealNumber> {
|
||||
pub c: T,
|
||||
/// Tolerance for stopping criterion.
|
||||
pub tol: T,
|
||||
#[serde(skip_deserializing)]
|
||||
#[cfg_attr(feature = "serde", serde(skip_deserializing))]
|
||||
/// The kernel function.
|
||||
pub kernel: Option<&'a dyn Kernel<'a>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user