diff --git a/src/autodiff/gradient.rs b/src/autodiff/gradient.rs index ccb74ca1..69edce0d 100644 --- a/src/autodiff/gradient.rs +++ b/src/autodiff/gradient.rs @@ -78,10 +78,9 @@ impl<'v, const N: usize> Gradient<&[Variable<'v>; N], Vec> for Vec { #[cfg(test)] mod test_gradient { use crate::autodiff::variables::variable::Variable; + use crate::RUSTQUANT_EPSILON as EPS; use crate::{assert_approx_equal, autodiff::*}; - use std::f64::EPSILON as EPS; - #[test] fn test_borrowed_vector() { let g = Graph::new();