From 54e545a0727349faf99af50b417409459327840a Mon Sep 17 00:00:00 2001 From: Mathieu Poumeyrol Date: Mon, 23 Sep 2024 13:25:13 +0200 Subject: [PATCH] clips, fix test --- .travis/cli-tests.sh | 1 + cli/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/cli-tests.sh b/.travis/cli-tests.sh index 7281819110..c209c6f6c9 100755 --- a/.travis/cli-tests.sh +++ b/.travis/cli-tests.sh @@ -105,6 +105,7 @@ $TRACT_RUN $MODELS/en_libri_real/model.onnx \ -O \ run \ --input-from-bundle $MODELS/en_libri_real/io.npz \ + --approx approximate \ --allow-random-input \ --assert-output-bundle $MODELS/en_libri_real/io.npz diff --git a/cli/src/main.rs b/cli/src/main.rs index dfbc205966..66a326a0e4 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -408,7 +408,7 @@ fn assertions_options(command: clap::Command) -> clap::Command { .arg( Arg::new("approx") .takes_value(true) - .possible_values(&["exact", "close", "approximate", "super"]) + .possible_values(["exact", "close", "approximate", "super"]) .default_value("close") .long("approx") .help("Approximation level used in assertions."),