From f14fa189f7c4786633a2907a0bda966852abdb59 Mon Sep 17 00:00:00 2001 From: avhz Date: Sat, 16 Mar 2024 09:55:15 +0100 Subject: [PATCH] build: GitHub actions (fix failing tests) --- src/autodiff/gradient.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();