clippy error solved

pull/87/head
AlessandroBregoli 2 years ago
parent adb0f99419
commit 776b9aa030
  1. 6
      reCTBN/tests/reward_evaluation.rs

@ -1,6 +1,6 @@
mod utils;
use approx::{abs_diff_eq, assert_abs_diff_eq};
use approx::assert_abs_diff_eq;
use ndarray::*;
use reCTBN::{
params,
@ -10,7 +10,7 @@ use reCTBN::{
use utils::generate_discrete_time_continous_node;
#[test]
fn simple_factored_reward_function_binary_node_MC() {
fn simple_factored_reward_function_binary_node_mc() {
let mut net = CtbnNetwork::new();
let n1 = net
.add_node(generate_discrete_time_continous_node(String::from("n1"), 2))
@ -50,7 +50,7 @@ fn simple_factored_reward_function_binary_node_MC() {
}
#[test]
fn simple_factored_reward_function_chain_MC() {
fn simple_factored_reward_function_chain_mc() {
let mut net = CtbnNetwork::new();
let n1 = net
.add_node(generate_discrete_time_continous_node(String::from("n1"), 2))

Loading…
Cancel
Save