Skip to content

Commit

Permalink
build: GitHub actions (fix failing tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
avhz authored and avhz committed Mar 16, 2024
1 parent c95cd96 commit f14fa18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/autodiff/gradient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ impl<'v, const N: usize> Gradient<&[Variable<'v>; N], Vec<f64>> for Vec<f64> {
#[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();
Expand Down

0 comments on commit f14fa18

Please sign in to comment.