Skip to content

Commit a530dd8

Browse files
committed
check input value to enforce pre-condition
1 parent e4895e4 commit a530dd8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vsearch.cc

+5
Original file line numberDiff line numberDiff line change
@@ -5718,6 +5718,11 @@ auto cmd_chimera() -> void
57185718
fatal("Database filename not specified with --db");
57195719
}
57205720

5721+
if (opt_abskew < 1.0)
5722+
{
5723+
fatal("Argument to --abskew must be >= 1.0");
5724+
}
5725+
57215726
if (opt_xn <= 1.0)
57225727
{
57235728
fatal("Argument to --xn must be > 1");

0 commit comments

Comments
 (0)