Mercurial > repos > public > sbplib_julia
diff src/SbpOperators/readoperator.jl @ 602:c2239c7cd71e refactor/toml_operator_format
Fix another typo in get_tuple signature
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 05 Dec 2020 13:05:53 +0100 |
parents | b05f542b2e8f |
children | fbff4009c08a |
line wrap: on
line diff
--- a/src/SbpOperators/readoperator.jl Sat Dec 05 12:59:51 2020 +0100 +++ b/src/SbpOperators/readoperator.jl Sat Dec 05 13:05:53 2020 +0100 @@ -91,7 +91,7 @@ end get_tuple(parsed_toml, path...) = get_tuple(parsed_toml[path[1]], path[2:end]...) -function get_tuple(parsed_toml, path...) +function get_tuple(parsed_toml) @assert parsed_toml isa Vector{String} t = Tuple(Float64.(parse_rational.(parsed_toml))) return t