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 4f79d6f1ed
commit e53dac17d5

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{