Fixed the default cell size to avoid having to put it every time

This commit is contained in:
Karma Riuk 2023-08-14 19:59:57 +02:00
parent e1a7e12e6e
commit cf4214a716

View File

@ -131,12 +131,12 @@ func parse_arguments() (*reader.ReaderFactory, *writer.WriterFactory, *solver.So
cellSizeIn := argparser.Int("", "cell-size-in", &argparse.Options{ cellSizeIn := argparser.Int("", "cell-size-in", &argparse.Options{
Help: "Size of a cell (in pixels) for input file of image type", Help: "Size of a cell (in pixels) for input file of image type",
Default: 20, Default: 3,
}) })
cellSizeOut := argparser.Int("", "cell-size-out", &argparse.Options{ cellSizeOut := argparser.Int("", "cell-size-out", &argparse.Options{
Help: "Size of a cell (in pixels) for output file of image type", Help: "Size of a cell (in pixels) for output file of image type",
Default: 20, Default: 3,
}) })
solverFactory.Type = argparser.Selector("a", "algo", solver.TYPES, &argparse.Options{ solverFactory.Type = argparser.Selector("a", "algo", solver.TYPES, &argparse.Options{