indentation and cosmetics

This commit is contained in:
kalmarek 2018-01-04 22:09:53 +01:00
parent 76ff889366
commit 2ae11d9f33
2 changed files with 24 additions and 26 deletions

8
SL.jl
View File

@ -48,11 +48,9 @@ function parse_commandline()
return parse_args(settings) return parse_args(settings)
end end
const PARSEDARGS = parse_commandline() const PARSEDARGS = parse_commandline()
include("CPUselect.jl") include("CPUselect.jl")
# set_parallel_mthread(PARSEDARGS, workers=true) # set_parallel_mthread(PARSEDARGS, workers=true)
using SCS.SCSSolver using SCS.SCSSolver
@ -71,7 +69,7 @@ function main(GROUP, parsed_args)
warm = parsed_args["warmstart"] warm = parsed_args["warmstart"]
name, N = GROUP.groupname(parsed_args) name, N = GROUP.groupname(parsed_args)
G, S = G, S = GROUP.generatingset(parsed_args) G, S = GROUP.generatingset(parsed_args)
name = "$(name)_r$radius" name = "$(name)_r$radius"
isdir(name) || mkdir(name) isdir(name) || mkdir(name)
@ -82,10 +80,10 @@ function main(GROUP, parsed_args)
info(logger, "Iterations: $iterations") info(logger, "Iterations: $iterations")
info(logger, "Precision: $tol") info(logger, "Precision: $tol")
info(logger, "Upper bound: $upper_bound") info(logger, "Upper bound: $upper_bound")
info(logger, "Threads: $(Threads.nthreads())")
info(logger, "Workers: $(workers())")
info(logger, G) info(logger, G)
info(logger, "Symmetric generating set of size $(length(S))") info(logger, "Symmetric generating set of size $(length(S))")
info(logger, "Threads: $(Threads.nthreads())")
info(logger, "Workers: $(workers())")
Id = one(G) Id = one(G)