Fixed the default cell size to avoid having to put it every time
This commit is contained in:
parent
e1a7e12e6e
commit
cf4214a716
4
main.go
4
main.go
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user