From 6ba084db4ba375eacaa1677fd75de318c12170c7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 6 Jul 2020 23:04:10 -0400 Subject: Bump acap to 0.2.0 This requires adapting to the new k-d trees, which are significantly faster. --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index ce54939..ae8c35d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -355,7 +355,10 @@ impl App { } } - fn paint(&mut self, colors: Vec) -> AppResult<()> { + fn paint(&mut self, colors: Vec) -> AppResult<()> + where + C::Value: PartialOrd, + { let width = self.width.unwrap(); let height = self.height.unwrap(); let x0 = self.args.x0.unwrap_or(width / 2); -- cgit v1.2.3