diff --git a/src/generation/formula.jl b/src/generation/formula.jl index 10361de..90385f3 100644 --- a/src/generation/formula.jl +++ b/src/generation/formula.jl @@ -194,7 +194,7 @@ end kwargs... ) randformula( - initrng(rng), maxheight, alphabet(g), operators(g), args...; + initrng(rng), maxheight, g, args...; atompicker = atomweights, opweights = opweights, kwargs...) end