Open jobrachem opened 1 year ago
Currently, you always have to do something like this:
import liesel.model as lsl a = lsl.Var(0.0, name="a_name") b = lsl.Var(0.0, name="b_name") gb = lsl.GraphBuilder().add(a) gb.replace_var(a, b)
I think it would be user-friendly to also allow
import liesel.model as lsl a = lsl.Var(0.0, name="a_name") b = lsl.Var(0.0, name="b_name") gb = lsl.GraphBuilder().add(a) gb.replace_var("a_name", b)
Currently, you always have to do something like this:
I think it would be user-friendly to also allow