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
from geosolver.solver.variable_handler import VariableHandler
from geosolver.solver.numeric_solver import NumericSolver
vh = VariableHandler()
A = vh.point('A')
B = vh.point('B')
AO = vh.circle(A)
BO = vh.circle(B)
I'm getting a failed assert:
Traceback (most recent call last):
File "geosolve.py", line 8, in <module>
BO = vh.circle(B)
File ".../geosolver/solver/variable_handler.py", line 52, in circle
r = self.number(r_name, init=init)
File ".../geosolver/solver/variable_handler.py", line 17, in number
assert name not in self.variables
AssertionError
If I comment out the second circle declaration, it works fine. I'm not having trouble with lines or anything else.
The text was updated successfully, but these errors were encountered:
With declarations as simple as:
I'm getting a failed assert:
If I comment out the second circle declaration, it works fine. I'm not having trouble with lines or anything else.
The text was updated successfully, but these errors were encountered: