debug line
This commit is contained in:
parent
b558eeec83
commit
2f11d2e388
|
@ -842,7 +842,7 @@ class AngleConstraint(ParametricConstraint):
|
|||
cmp = self._value
|
||||
result = tol_eq(ang, cmp)
|
||||
if result == False:
|
||||
diag_print("measured angle = "+str(ang)+", parameter value = "+str(cmp), "geometric")
|
||||
diag_print("measured angle = "+str(ang)+", parameter value = "+str(cmp), "satisfied")
|
||||
return result
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
@ -789,7 +789,7 @@ def test(problem, use_prototype=True):
|
|||
check = True
|
||||
if len(result.solutions) == 0:
|
||||
check = False
|
||||
diag_select("GeometricProblem.verify")
|
||||
diag_select("(GeometricProblem.verify)|(satisfied)")
|
||||
for sol in result.solutions:
|
||||
print "solution:",sol
|
||||
check = check and problem.verify(sol)
|
||||
|
|
Loading…
Reference in New Issue
Block a user