Replaced `approx` with `approx-0_5` #58

Merged
meliurwen merged 1 commits from 37-refactor-approx into dev 2 years ago
  1. 4
      Cargo.toml
  2. 1
      tests/parameter_learning.rs

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ndarray = {version="*", features=["approx"]}
ndarray = {version="*", features=["approx-0_5"]}
thiserror = "*"
rand = "*"
bimap = "*"
@ -15,4 +15,4 @@ statrs = "*"
rand_chacha = "*"
[dev-dependencies]
approx = "*"
approx = { package = "approx", version = "0.5" }

@ -10,6 +10,7 @@ use reCTBN::tools::*;
use utils::*;
extern crate approx;
use crate::approx::AbsDiffEq;
fn learn_binary_cim<T: ParameterLearning>(pl: T) {
let mut net = CtbnNetwork::new();

Loading…
Cancel
Save