You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>g(x, y) = x + y
g (generic function with 1 method)
julia> vars =@variables x y
(x, y)
julia>Contractor(vars, g(vars...))
Contractor in2 dimensions:- forward pass contracts to 1 dimensions
- variables: Symbol[:x, :y]
- expression: x + y
julia>Contractor(vars, g)
ERROR: MethodError: no method matching Contractor(::Tuple{Variable,Variable}, ::typeof(g))
We should allow this last syntax.
cc @Yashcodes
The text was updated successfully, but these errors were encountered: