From 1dbc3e17fcaf44085ca0b8aabb81ff7d732fd1fd Mon Sep 17 00:00:00 2001 From: YuliaProkopovych Date: Fri, 26 Apr 2024 11:06:31 +0300 Subject: [PATCH] fix +test --- module/move/optimization_tools/Cargo.toml | 1 - module/move/optimization_tools/tests/simplex.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/module/move/optimization_tools/Cargo.toml b/module/move/optimization_tools/Cargo.toml index e39d547e20..a9fb722248 100644 --- a/module/move/optimization_tools/Cargo.toml +++ b/module/move/optimization_tools/Cargo.toml @@ -48,7 +48,6 @@ rand = "0.8.5" statrs = "0.16.0" faer = { version = "0.16.0", features = [ "ndarray" ] } ndarray = "0.15.6" -# plotters = { git = "https://github.com/plotters-rs/plotters.git" } plotters = { version = "0.3.5", default-features=false, features = [ "bitmap_encoder", "ttf", diff --git a/module/move/optimization_tools/tests/simplex.rs b/module/move/optimization_tools/tests/simplex.rs index b0a66c1b18..7310f74d39 100644 --- a/module/move/optimization_tools/tests/simplex.rs +++ b/module/move/optimization_tools/tests/simplex.rs @@ -112,6 +112,8 @@ fn problem_5_vars() assert_eq!( solution[ 0 ].point, vec![ 300.0, 400.0, 300.0, 0.0, 0.0 ] ) } +// for issue https://github.com/plotters-rs/plotters/issues/573 +#[ cfg( not( all( debug_assertions, target_os = "linux" ) ) ) ] #[ test ] fn problem_draw() {