Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: use core instead of std in KDE
  • Loading branch information
Goose committed Nov 3, 2025
commit c80f1b1d380e3ce01b564f815b7ebc5d00e04729
2 changes: 1 addition & 1 deletion src/function/kernel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//! assert!((e.evaluate(0.0) - 0.75).abs() < 1e-12);
//! ```

use std::f64::consts::{FRAC_PI_2, PI};
use core::f64::consts::{FRAC_PI_2, PI};

/// Common interface for kernel functions used in KDE and smoothing.
pub trait Kernel {
Expand Down
Loading