From 43537a3b137c3d88b8cd2c8d2f8a4257aebfa45d4ee8e2ad98ae80c7f5c9d620 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 19 Apr 2024 00:00:00 +0000 Subject: Use double-precision floating-point for skew --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6a44530..87274af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,9 +35,9 @@ struct Cli { #[arg(short, long)] #[arg(default_value_t = 0.5)] - #[arg(value_parser = value_parser!(f32))] + #[arg(value_parser = value_parser!(f64))] /// Set skew - skew: f32, + skew: f64, } /* CLI for hitomezashi */ -- cgit v1.2.3