Skip to content

Commit ae5eb78

Browse files
GooseYeungOnion
authored andcommitted
fix: use core instead of std in KDE
1 parent ce20d04 commit ae5eb78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/function/kernel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//! assert!((e.evaluate(0.0) - 0.75).abs() < 1e-12);
2929
//! ```
3030
31-
use std::f64::consts::{FRAC_PI_2, PI};
31+
use core::f64::consts::{FRAC_PI_2, PI};
3232

3333
/// Common interface for kernel functions used in KDE and smoothing.
3434
pub trait Kernel {

0 commit comments

Comments
 (0)