Skip to content

Commit

Permalink
clips, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 23, 2024
1 parent 4668dca commit 54e545a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis/cli-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down

0 comments on commit 54e545a

Please sign in to comment.