@@ -133,9 +133,9 @@ def parse_cond(self, conditions: List[Union[BOPElement, dict]]):
133133 if isinstance (cond , BOPElement ):
134134 assert isinstance (cond .variables , int ), 'Boundary operator has to contain only a single variable.'
135135 try :
136- var = self ._var_order .index ((cond .variables , cond .axis ))
136+ var = self ._var_order .index ((cond .variables , cond .term ))
137137 except ValueError :
138- print (f'Missing { cond .variables , cond .axis } from the list of variables { self ._var_order } ' )
138+ print (f'Missing { cond .variables , cond .term } from the list of variables { self ._var_order } ' )
139139 raise RuntimeError ()
140140 cond_val [var ] = cond .values
141141 else :
@@ -285,7 +285,7 @@ def solve(self, equations, domain: Union[Domain, np.ndarray],
285285 boundary_conditions : List [BOPElement ] = None , vars : List [str ] = ['x' ,], * args , ** kwargs ):
286286 if not isinstance (equations , list ):
287287 raise RuntimeError ('Equations have to be passed as a list.' )
288- # self._implicit_equation = ImplicitEquation(equations, domain, vars)
288+ self ._implicit_equation = ImplicitEquation (equations , domain , vars )
289289 if isinstance (domain , Domain ):
290290 grid = domain .build ().detach ().numpy ().reshape (- 1 )
291291 else :
0 commit comments