Skip to content
Commit d74fe37b authored by Matt Wala's avatar Matt Wala
Browse files

Update the interface to the method generators.

Old way of generating code:

    method = Method(params)
    code = method(component_id)

New way of generating code:

    method = Method(component_id, params)
    code = method.generate(*solver_hooks)

Also, document all the user-supplied context which a method expects.
parent 1c8e1fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment