Commit 38602c16 authored by Jan Kiene's avatar Jan Kiene
Browse files

make "which" argument for create_short_testsvectors.py optional

parent 0fd628a0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ def create_short_testvectors(which="foa", cut_len=5.0):

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument("which", choices=["foa", "all"])
    parser.add_argument("--which", choices=["foa", "all"], default="foa")

    def positive_float(x: str) -> float:
        x = float(x)